📄 updatepets_jsp.java
字号:
package org.apache.jsp.context;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
public final class updatepets_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_var_items;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_choose = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_when_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_c_otherwise = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_var_items.release();
_jspx_tagPool_c_choose.release();
_jspx_tagPool_c_when_test.release();
_jspx_tagPool_c_otherwise.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=gb2312");
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("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
out.write("<title>无标题文档</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("\r\n");
out.write(" .STYLE1 {\r\n");
out.write("\tcolor: #FFFFFF;\r\n");
out.write("\tfont-family: \"黑体\";\r\n");
out.write("\tfont-size: 14px;\r\n");
out.write("\tfont-weight: bold;\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("\r\n");
out.write(" </style>\r\n");
out.write(" <script language=\"JavaScript\" src=\"context/calendar.js\"></script>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<body bgcolor=\"#f7f8fd\">\r\n");
out.write("\r\n");
out.write("<table border=\"0\" cellspacing=\"00\" align=\"center\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td ><img src=\"images/bt2.gif\"></td>\r\n");
out.write(" <td>当前操作:<font color=\"#FF0000\">修改宠物资料</font></td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("<br>\r\n");
out.write("\r\n");
out.write("<table width=\"90%\" border=\"1\" align=\"center\" cellspacing=\"0\" bordercolor=\"#c8d8ef\" bordercolorlight=\"#c8d8ef\" bordercolordark=\"#c8d8ef\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td colspan=\"2\" bgcolor=\"c8d8ef\" height=\"30\"><div align=\"left\"><span class=\"STYLE1\">宠物资料</span></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><form name=\"form1\" method=\"post\" action=\"petscontrol?param=updateSave&id=");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.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.pageNumber}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">\r\n");
out.write(" <table width=\"100%\" border=\"0\" cellspacing=\"1\" bgcolor=\"c8d8ef\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"20%\" height=\"35\" bgcolor=\"#FFFFFF\" >\r\n");
out.write(" <div align=\"right\">宠物名称:</div></td>\r\n");
out.write(" <td colspan=\"2\" bgcolor=\"#FFFFFF\" ><div align=\"left\">\r\n");
out.write(" <input type=\"text\" name=\"petName\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.petsName}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"35\" bgcolor=\"#FFFFFF\"><div align=\"right\">出生日期:</div></td>\r\n");
out.write(" <td colspan=\"2\" bgcolor=\"#FFFFFF\"><label>\r\n");
out.write(" <div align=\"left\">\r\n");
out.write(" <input type=\"text\" name=\"petsBirthday\" onfocus=\"calendar()\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.birthday}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">\r\n");
out.write(" </div>\r\n");
out.write(" </label></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\" height=\"35\">\r\n");
out.write(" <div align=\"right\">种类:</div>\r\n");
out.write(" </div></td>\r\n");
out.write(" <td height=\"35\" colspan=\"2\" bgcolor=\"#FFFFFF\"><div align=\"left\">\r\n");
out.write(" <select name=\"petsType\">\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </select>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"34\" bgcolor=\"#FFFFFF\">\r\n");
out.write(" <div align=\"right\">主人姓名:</div></td>\r\n");
out.write(" <td colspan=\"2\" bgcolor=\"#FFFFFF\"> <div align=\"left\">\r\n");
out.write(" <select name=\"petsOwner\">\r\n");
out.write(" ");
if (_jspx_meth_c_forEach_1(_jspx_page_context))
return;
out.write("\r\n");
out.write(" </select>\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"35\" valign=\"bottom\"> </td>\r\n");
out.write(" <td width=\"51%\" valign=\"bottom\"><div align=\"right\">\r\n");
out.write(" <input type=\"submit\" name=\"Submit\" value=\"保存\">\r\n");
out.write(" </div></td>\r\n");
out.write(" <td width=\"29%\" valign=\"bottom\"><div align=\"left\" >\r\n");
out.write(" <input type=\"reset\" name=\"Submit2\" value=\"取消\">\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </form></td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("\r\n");
out.write("</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_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_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.typesInfo}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
_jspx_th_c_forEach_0.setVar("typeName");
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(" ");
if (_jspx_meth_c_choose_0(_jspx_th_c_forEach_0, _jspx_page_context, _jspx_push_body_count_c_forEach_0))
return true;
out.write("\r\n");
out.write(" ");
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_var_items.reuse(_jspx_th_c_forEach_0);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -