📄 queryowners_jsp.java
字号:
package org.apache.jsp.context;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class queryowners_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_varStatus_var_items;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_forEach_varStatus_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_varStatus_var_items.release();
_jspx_tagPool_c_if_test.release();
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"error.jsp", 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("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>\r\n");
out.write("queryemployee\r\n");
out.write("</title>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("body{font-size:12px}\r\n");
out.write("td{font-size:12px; text-align:center}\r\n");
out.write("th{font-size:13px;color:#3a64a2}\r\n");
out.write("a:link { COLOR:#09355E;TEXT-DECORATION: none;}\r\n");
out.write("a:visited{COLOR:#09355E;TEXT-DECORATION: none;}\r\n");
out.write("a:hover{COLOR:#3A64A2;TEXT-DECORATION: none;}\r\n");
out.write(".STYLE1 {color: #FF0000}\r\n");
out.write("</style>\r\n");
out.write("<script type=\"text/javascript\" language=\"javascript\">\r\n");
out.write("function userConfirm()\r\n");
out.write("{\r\n");
out.write("\tvar re=window.confirm(\"您确定要删除该行信息吗?\");\r\n");
out.write("\tif(re)\r\n");
out.write("\treturn;\r\n");
out.write("}\r\n");
out.write("</script>\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"#f7f8fd\">\r\n");
out.write("<table align=\"center\" order=\"0\" cellspacing=\"00\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img src=\"images/bt2.gif\" /></td>\r\n");
out.write(" <td>当前操作:<span class=\"STYLE1\">宠物主人基本信息</span></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("<br>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<table width=\"90%\" border=\"0\" align=\"center\" cellspacing=\"1\" bgcolor=\"#c8d8ef\">\r\n");
out.write(" <tr bgcolor=\"#c8d8ef\">\r\n");
out.write(" <th height=\"25\">姓名</th>\r\n");
out.write(" <th>地址</th>\r\n");
out.write(" <th>所在城市</th>\r\n");
out.write(" <th>电话号码</th>\r\n");
out.write(" <th>操作</th>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("</table>\r\n");
out.write("<table border=\"0\" align=\"center\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td><a href=\"ownerscontrol?param=query&pageNumber=firstPage\" target=\"mainFrame\">首页</a></td>\r\n");
out.write("\t ");
if (_jspx_meth_c_if_0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" ");
if (_jspx_meth_c_if_1(_jspx_page_context))
return;
out.write("\r\n");
out.write(" <td><a href=\"ownerscontrol?param=query&pageNumber=endPage\" target=\"mainFrame\">末页</a></td>\r\n");
out.write(" <td>共");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.ownersTotalPages}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("页</td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("</body>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("</html>\r\n");
out.write("\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_forEach_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:forEach
org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_varStatus_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
_jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
_jspx_th_c_forEach_0.setParent(null);
_jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.queryResult}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_0.setVar("ownersResult");
_jspx_th_c_forEach_0.setVarStatus("total");
int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
try {
int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("\r\n");
out.write(" <tr onmousemove=\"this.style.backgroundColor='#EBF4FF'\" onmouseout=\"this.style.backgroundColor='#ffffff'\" bgcolor=\"ffffff\">\r\n");
out.write(" \t<td height=\"25\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.name}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t<td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.address}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.city}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write(" <td>");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.telephone}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</td>\r\n");
out.write("\t<td><a href=\"ownerscontrol?param=update&updateId=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&updateName=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.name}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&updateAddress=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.address}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&updateCity=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.city}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&updateTelephone=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.telephone}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&pageNumber=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.currentPage}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"mainFrame\" >修改</a>|<a href=\"ownerscontrol?param=delete&deleteid=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${ownersResult.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("&pageNumber=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.currentPage}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"mainFrame\" onClick=\"userConfirm()\">删除</a> </td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write("\r\n");
int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
} catch (Throwable _jspx_exception) {
while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
out = _jspx_page_context.popBody();
_jspx_th_c_forEach_0.doCatch(_jspx_exception);
} finally {
_jspx_th_c_forEach_0.doFinally();
_jspx_tagPool_c_forEach_varStatus_var_items.reuse(_jspx_th_c_forEach_0);
}
return false;
}
private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_0.setPageContext(_jspx_page_context);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.currentPage>1}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <td><a href=\"ownerscontrol?param=query&pageNumber=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.currentPage-1}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"mainFrame\">上一页</a></td>\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
return false;
}
private boolean _jspx_meth_c_if_1(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_1.setPageContext(_jspx_page_context);
_jspx_th_c_if_1.setParent(null);
_jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.currentPage<sessionScope.ownersTotalPages}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write(" <td><a href=\"ownerscontrol?param=query&pageNumber=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.currentPage+1}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" target=\"mainFrame\">下一页</a></td>\r\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -