📄 main_jsp.java
字号:
out.write("\t\t\t\t\tid=\"s\">上一页</a>\r\n");
out.write("\t\t\t\t");
}
if (pagination.getCurpage() == pagination.getTotalpage()) {
out.write("\r\n");
out.write("\t\t\t\t下一页 尾页\r\n");
out.write("\t\t\t\t");
} else {
out.write("\r\n");
out.write("\t\t\t\t<a href=\"javascript:gotopage(");
out.print(pagination.getCurpage() + 1);
out.write(")\"\r\n");
out.write("\t\t\t\t\tid=\"s\">下一页</a>\r\n");
out.write("\t\t\t\t<a href=\"javascript:gotopage(");
out.print(pagination.getTotalpage());
out.write(")\" id=\"s\">尾页</a>\r\n");
out.write("\t\t\t\t");
}
out.write("\r\n");
out.write("\t\t\t\t第\r\n");
out.write("\t\t\t\t<select name=\"pagenum\" onchange=\"Jumping()\">\r\n");
out.write("\t\t\t\t\t");
for (int i = 1; i <= pagination.getTotalpage(); i++) {
if (i == pagination.getCurpage()) {
out.write("\r\n");
out.write("\t\t\t\t\t<OPTION selected value=\"");
out.print(i);
out.write("\">\r\n");
out.write("\t\t\t\t\t\t");
out.print(i);
out.write("\r\n");
out.write("\t\t\t\t\t</OPTION>\r\n");
out.write("\t\t\t\t\t");
} else {
out.write("\r\n");
out.write("\t\t\t\t\t<OPTION value=\"");
out.print(i);
out.write("\">\r\n");
out.write("\t\t\t\t\t\t");
out.print(i);
out.write("\r\n");
out.write("\t\t\t\t\t</OPTION>\r\n");
out.write("\t\t\t\t\t");
}
}
out.write("\r\n");
out.write("\t\t\t\t</select>\r\n");
out.write("\t\t\t\t页\r\n");
out.write("\t\t\t\t");
}
out.write("\r\n");
out.write("\t\t\t\t<input type=\"hidden\" value=\"跳转页面\" name=\"judge\">\r\n");
out.write("\t\t\t</form>\r\n");
out.write("\t\t</center>\r\n");
out.write("\t</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
private boolean _jspx_meth_c_otherwise_0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_choose_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_0 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _jspx_tagPool_c_otherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
_jspx_th_c_otherwise_0.setPageContext(_jspx_page_context);
_jspx_th_c_otherwise_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_choose_0);
int _jspx_eval_c_otherwise_0 = _jspx_th_c_otherwise_0.doStartTag();
if (_jspx_eval_c_otherwise_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("查询员工\r\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_otherwise_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_otherwise_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_0);
return false;
}
private boolean _jspx_meth_c_otherwise_1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_choose_1, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_1 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _jspx_tagPool_c_otherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
_jspx_th_c_otherwise_1.setPageContext(_jspx_page_context);
_jspx_th_c_otherwise_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_choose_1);
int _jspx_eval_c_otherwise_1 = _jspx_th_c_otherwise_1.doStartTag();
if (_jspx_eval_c_otherwise_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("添加员工\r\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_otherwise_1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_otherwise_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_1);
return false;
}
private boolean _jspx_meth_c_otherwise_2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_choose_2, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_0)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_2 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _jspx_tagPool_c_otherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
_jspx_th_c_otherwise_2.setPageContext(_jspx_page_context);
_jspx_th_c_otherwise_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_choose_2);
int _jspx_eval_c_otherwise_2 = _jspx_th_c_otherwise_2.doStartTag();
if (_jspx_eval_c_otherwise_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${personbean.perId}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\r\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_otherwise_2.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_otherwise_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_2);
return false;
}
private boolean _jspx_meth_c_otherwise_3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_choose_3, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_0)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_3 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _jspx_tagPool_c_otherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
_jspx_th_c_otherwise_3.setPageContext(_jspx_page_context);
_jspx_th_c_otherwise_3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_choose_3);
int _jspx_eval_c_otherwise_3 = _jspx_th_c_otherwise_3.doStartTag();
if (_jspx_eval_c_otherwise_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t修改\r\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_otherwise_3.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_otherwise_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_3);
return false;
}
private boolean _jspx_meth_c_otherwise_4(javax.servlet.jsp.tagext.JspTag _jspx_th_c_choose_4, PageContext _jspx_page_context, int[] _jspx_push_body_count_c_forEach_0)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:otherwise
org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_otherwise_4 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _jspx_tagPool_c_otherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
_jspx_th_c_otherwise_4.setPageContext(_jspx_page_context);
_jspx_th_c_otherwise_4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_choose_4);
int _jspx_eval_c_otherwise_4 = _jspx_th_c_otherwise_4.doStartTag();
if (_jspx_eval_c_otherwise_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\t\t\t\t\t\t\t\t\t删除\r\n");
out.write("\t\t\t\t");
int evalDoAfterBody = _jspx_th_c_otherwise_4.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_otherwise_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_otherwise.reuse(_jspx_th_c_otherwise_4);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -