/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.37
* Generated at: 2021-12-12 07:10:24 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.apache.jsp.WEB_002dINF.views.employee;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class list_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final javax.servlet.jsp.JspFactory _jspxFactory =
javax.servlet.jsp.JspFactory.getDefaultFactory();
private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.tomcat.InstanceManager _jsp_instancemanager;
public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.release();
_005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems.release();
}
public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException {
final javax.servlet.jsp.PageContext pageContext;
javax.servlet.http.HttpSession session = null;
final javax.servlet.ServletContext application;
final javax.servlet.ServletConfig config;
javax.servlet.jsp.JspWriter out = null;
final java.lang.Object page = this;
javax.servlet.jsp.JspWriter _jspx_out = null;
javax.servlet.jsp.PageContext _jspx_page_context = null;
try {
response.setContentType("text/html; charset=UTF-8");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
out.write("<title>Insert title here</title>\r\n");
out.write("\r\n");
out.write("<script type=\"text/javascript\">\r\n");
out.write("\tfunction goPage(pageNo){\r\n");
out.write("\t\t//1:获取表单对象\r\n");
out.write("\t\tvar form = document.forms[0];\r\n");
out.write("\t\tform.currentPage.value = pageNo;\r\n");
out.write("\t\tform.submit();\r\n");
out.write("\t}\r\n");
out.write("</script>\r\n");
out.write("\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write("<h1>员工列表</h1>\r\n");
out.write("<a href=\"/employee/input\">添加</a>\r\n");
out.write("<form action=\"/employee/list\" method=\"post\">\r\n");
out.write("<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" width=\"60%\">\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td colspan=\"7\">\r\n");
out.write("\t\t\t关键字:<input type=\"text\" name=\"keyword\">\r\n");
out.write("\t\t\t部门:<select name=\"deptId\">\r\n");
out.write("\t\t\t<option value=\"\">全部</option>\r\n");
out.write("\t\t\t");
if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t</select>\r\n");
out.write("\t\t\t<input type=\"submit\" value=\"查询\"/>\r\n");
out.write("\t\t</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td>编号</td>\r\n");
out.write("\t\t<td>名称</td>\r\n");
out.write("\t\t<td>姓名</td>\r\n");
out.write("\t\t<td>email</td>\r\n");
out.write("\t\t<td>年龄</td>\r\n");
out.write("\t\t<td>是否管理员</td>\r\n");
out.write("\t\t<td>部门名称</td>\r\n");
out.write("\t\t<td>操作</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t");
if (_jspx_meth_c_005fforEach_005f1(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td colspan=\"7\" align=\"center\"> \r\n");
out.write("\t\t\t<a href=\"javascript:;\" onclick=\"goPage(1)\">首页</a>\r\n");
out.write("\t\t\t<a href=\"javascript:;\" onclick=\"goPage(");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageResult.prevPage}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write(")\">上一页</a>\r\n");
out.write("\t\t\t<a href=\"javascript:;\" onclick=\"goPage(");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageResult.nextPage}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write(")\">下一页</a>\r\n");
out.write("\t\t\t<a href=\"javascript:;\" onclick=\"goPage(");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageResult.totalPage}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write(")\">末页</a>\r\n");
out.write("\t\t\t每页显示:<select name=\"pageSize\" onchange=\"goPage(1)\">\r\n");
out.write("\t\t\t\t<option value =\"3\" ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageResult.pageSize == 3 ? 'selected' : ''}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write(">3</option>\r\n");
out.write("\t\t\t\t<option value =\"5\" ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageResult.pageSize == 5 ? 'selected' : ''}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write(">5</option>\r\n");
out.write("\t\t\t\t<option value =\"10\" ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageResult.pageSize == 10 ? 'selected' : ''}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
out.write(">10</option>\r\n");
out.write("\t\t\t</select>\r\n");
out.write("\t\t\t ");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageResult.currentPage }", java.lang.String.class, (javax.servlet.jsp.Page
评论0