📄 petview_005fname_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
public final class petview_005fname_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(2);
_jspx_dependants.add("/headerpet.jsp");
_jspx_dependants.add("/footer.jsp");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_out_value_nobody;
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_out_value_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_forEach_var_items.release();
_jspx_tagPool_c_out_value_nobody.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,
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');
out.write('\n');
out.write("\r\n<html>\r\n<head><br>\r\n<title>Pet Clinic Application</title>\r\n\t<link rel=\"stylesheet\" type=\"text/css\" href=\"fund.css\">\r\n</head>\r\n<body>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n<!-- header-->\r\n<tr>\r\n\t<td class=\"tddata\" colspan=\"2\"> </td>\r\n</tr>\r\n<tr>\r\n\t<td class=\"tddata\" colspan=\"2\" align=\"right\">\r\n\t\t<a class=\"tablelink\" href=\"petsearch.jsp\">HOME</a> \r\n\t\t<a class=\"tablelink\" href=\"/petclinic/EmpServlet?param=logout\">LOGOUT</a> \r\n\t</td>\r\n</tr>\r\n<tr>\r\n\t<td class=\"tddata\" colspan=\"2\" align=\"center\"><h1>Pet Clinic Application</h1></td>\r\n</tr>\r\n<tr>\r\n\t<td class=\"tddata\" colspan=\"2\" align=\"left\">\r\n\t\t<a class=\"tablelink\" href=\"vetsearch.jsp\">VETS</a> \r\n\t\t<a >PETS</a> \r\n\t</td>\r\n</tr>\r\n<tr>\r\n\t<td class=\"thd\" colspan=\"2\"> </td>\r\n</tr>\r\n<tr>\r\n\t<td class=\"thd\" colspan=\"2\"> </td>\r\n</tr>\r\n</table>\r\n<!-- header-->\r\n");
out.write("\r\n\r\n<Script language=\"JavaScript\">\r\nfunction faction()\r\n{\r\n\tdocument.frm.action=\"/petclinic/PetVisitServlet\";\r\n\tdocument.frm.param.value=\"addnewvisit\"\r\n\tdocument.frm.submit();\r\n}\r\nfunction faction1()\r\n{\r\n\tdocument.frm.action=\"/petclinic/PetServlet\";\r\n\tdocument.frm.param.value=\"update\";\r\n\tdocument.frm.submit();\r\n}\r\n</Script>\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n<!-- main body -->\r\n<tr>\r\n<td class=\"thd\" width=\"70%\" align=\"center\">\r\n\t<form name=\"frm\" action=\"/petclinic/PetVisitServlet\" method=\"POST\">\r\n\t<table border=\"0\" width=\"60%\">\r\n\t");
if (_jspx_meth_c_forEach_0(_jspx_page_context))
return;
out.write("\r\n\t\t<tr>\r\n\t\t\t<td class=\"thd\" colspan=\"2\"> </td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t\t<input class=\"btnaction\" type=\"submit\" value=\"View Visitation\">\r\n\t\t\t\t<input class=\"btnaction\" type=\"button\" value=\"Add New Visit\" onclick=\"faction()\">\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td colspan=\"2\" align=\"center\">\r\n\t\t\t<input class=\"btnaction\" type=\"button\" value=\"Update Information\" onclick=\"faction1()\">\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t</table>\r\n\t<h2>");
if (_jspx_meth_c_out_0(_jspx_page_context))
return;
out.write("</h2>\r\n\t</form>\r\n</td>\r\n<!-- main body -->\r\n</tr>\r\n<tr>\r\n\t<td class=\"thd\" colspan=\"2\"> </td>\r\n</tr>\r\n<tr>\r\n\t<td class=\"thd\" colspan=\"2\"> </td>\r\n</tr>\r\n</table>\r\n");
out.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\r\n<!-- footer-->\r\n<tr>\r\n<td class=\"tddata\" colspan=\"2\"> </td>\r\n</tr>\r\n<tr>\r\n<td class=\"tddata\" colspan=\"2\"> </td>\r\n</tr>\r\n<!-- footer-->\r\n</table>\r\n</body>\r\n</html>");
out.write('\r');
out.write('\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.setVar("pl");
_jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${petdtoList}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
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\t<input type=\"hidden\" name=\"petId\" value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pl.petId}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\">\r\n\t<input type=\"hidden\" name=\"param\" value=\"view\">\r\n\t\t<tr>\r\n\t\t\t<td class=\"tdata\" width=\"50%\" >Pet Name</td>\r\n\t\t\t<td class=\"tdata\" width=\"50%\" ><input class=\"inputstyle\" type=\"text\" name=\"petname\" readonly value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pl.petName}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td class=\"tdata\" width=\"50%\">Type</td>\r\n\t\t\t<td class=\"tdata\" width=\"50%\"><input class=\"inputstyle\" type=\"text\" name=\"type\" readonly value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pl.petTypeName}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td class=\"tdata\" width=\"50%\" >Birth-Date</td>\r\n\t\t\t<td class=\"tdata\" width=\"50%\" ><input class=\"inputstyle\" type=\"text\" name=\"b_date\" readonly value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pl.petBirthDate}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td class=\"tdata\" width=\"50%\">Owner Name</td>\r\n\t\t\t<td class=\"tdata\" width=\"50%\"><input class=\"inputstyle\" type=\"text\" name=\"ownername\" readonly value=\"");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pl.petOwnerName}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\"></td>\r\n\t\t</tr>\r\n\t");
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);
}
return false;
}
private boolean _jspx_meth_c_out_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// c:out
org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_out_0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _jspx_tagPool_c_out_value_nobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
_jspx_th_c_out_0.setPageContext(_jspx_page_context);
_jspx_th_c_out_0.setParent(null);
_jspx_th_c_out_0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${message}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
int _jspx_eval_c_out_0 = _jspx_th_c_out_0.doStartTag();
if (_jspx_th_c_out_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_c_out_value_nobody.reuse(_jspx_th_c_out_0);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -