📄 category_002ditem_002dedit_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class category_002ditem_002dedit_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_hidden_name_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_textfield_theme_name_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_s_file_theme_name_nobody;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_s_hidden_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_s_textfield_theme_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_s_file_theme_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody.release();
_jspx_tagPool_s_hidden_name_nobody.release();
_jspx_tagPool_s_textfield_theme_name_nobody.release();
_jspx_tagPool_s_file_theme_name_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=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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("\r\n");
out.write("<head>\r\n");
out.write("\r\n");
out.write("<title>产品目录项编辑</title>\r\n");
out.write("\r\n");
out.write("<link rel=\"stylesheet\" href=\"../css/main.css\" type=\"text/css\">\r\n");
out.write("<link rel=\"stylesheet\" href=\"../css/cn.css\" type=\"text/css\">\r\n");
out.write("</head>\r\n");
out.write("<body>\r\n");
out.write("\r\n");
if (_jspx_meth_s_actionerror_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("<form id=\"form1\" method=\"post\" action=\"category-item-edit.save.action\"\r\n");
out.write("\tenctype=\"multipart/form-data\">\r\n");
out.write("\t");
if (_jspx_meth_s_hidden_0(_jspx_page_context))
return;
out.write('\r');
out.write('\n');
out.write(' ');
if (_jspx_meth_s_hidden_1(_jspx_page_context))
return;
out.write("\r\n");
out.write("<table border=\"1\">\r\n");
out.write("\r\n");
out.write("\t<tr>\r\n");
out.write("\r\n");
out.write("\t\t<td>名称</td>\r\n");
out.write("\r\n");
out.write("\t\t<td>");
if (_jspx_meth_s_textfield_0(_jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td>图片</td>\r\n");
out.write("\t\t<td>");
if (_jspx_meth_s_hidden_2(_jspx_page_context))
return;
out.write(" <img\r\n");
out.write("\t\t\tsrc=\"../files/");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${categoryItem.imageFileId}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("\" /> \r\n");
out.write("\t\t\t<br>\r\n");
out.write("\t\t\t");
if (_jspx_meth_s_file_0(_jspx_page_context))
return;
out.write("</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td><input type=\"submit\" value=\"保存\" /></td>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\t</tr>\r\n");
out.write("\r\n");
out.write("</table>\r\n");
out.write("</form>\r\n");
out.write("\r\n");
out.write("</body>\r\n");
out.write("\r\n");
out.write("</html>");
} 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_s_actionerror_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:actionerror
org.apache.struts2.views.jsp.ui.ActionErrorTag _jspx_th_s_actionerror_0 = (org.apache.struts2.views.jsp.ui.ActionErrorTag) _jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody.get(org.apache.struts2.views.jsp.ui.ActionErrorTag.class);
_jspx_th_s_actionerror_0.setPageContext(_jspx_page_context);
_jspx_th_s_actionerror_0.setParent(null);
_jspx_th_s_actionerror_0.setCssClass("error");
_jspx_th_s_actionerror_0.setLabel("Errors:");
_jspx_th_s_actionerror_0.setLabelposition("top");
_jspx_th_s_actionerror_0.setTitle("errors:");
int _jspx_eval_s_actionerror_0 = _jspx_th_s_actionerror_0.doStartTag();
if (_jspx_th_s_actionerror_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody.reuse(_jspx_th_s_actionerror_0);
return true;
}
_jspx_tagPool_s_actionerror_title_labelposition_label_cssClass_nobody.reuse(_jspx_th_s_actionerror_0);
return false;
}
private boolean _jspx_meth_s_hidden_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:hidden
org.apache.struts2.views.jsp.ui.HiddenTag _jspx_th_s_hidden_0 = (org.apache.struts2.views.jsp.ui.HiddenTag) _jspx_tagPool_s_hidden_name_nobody.get(org.apache.struts2.views.jsp.ui.HiddenTag.class);
_jspx_th_s_hidden_0.setPageContext(_jspx_page_context);
_jspx_th_s_hidden_0.setParent(null);
_jspx_th_s_hidden_0.setName("categoryItem.parent.id");
int _jspx_eval_s_hidden_0 = _jspx_th_s_hidden_0.doStartTag();
if (_jspx_th_s_hidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_hidden_name_nobody.reuse(_jspx_th_s_hidden_0);
return true;
}
_jspx_tagPool_s_hidden_name_nobody.reuse(_jspx_th_s_hidden_0);
return false;
}
private boolean _jspx_meth_s_hidden_1(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:hidden
org.apache.struts2.views.jsp.ui.HiddenTag _jspx_th_s_hidden_1 = (org.apache.struts2.views.jsp.ui.HiddenTag) _jspx_tagPool_s_hidden_name_nobody.get(org.apache.struts2.views.jsp.ui.HiddenTag.class);
_jspx_th_s_hidden_1.setPageContext(_jspx_page_context);
_jspx_th_s_hidden_1.setParent(null);
_jspx_th_s_hidden_1.setName("categoryItem.id");
int _jspx_eval_s_hidden_1 = _jspx_th_s_hidden_1.doStartTag();
if (_jspx_th_s_hidden_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_hidden_name_nobody.reuse(_jspx_th_s_hidden_1);
return true;
}
_jspx_tagPool_s_hidden_name_nobody.reuse(_jspx_th_s_hidden_1);
return false;
}
private boolean _jspx_meth_s_textfield_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:textfield
org.apache.struts2.views.jsp.ui.TextFieldTag _jspx_th_s_textfield_0 = (org.apache.struts2.views.jsp.ui.TextFieldTag) _jspx_tagPool_s_textfield_theme_name_nobody.get(org.apache.struts2.views.jsp.ui.TextFieldTag.class);
_jspx_th_s_textfield_0.setPageContext(_jspx_page_context);
_jspx_th_s_textfield_0.setParent(null);
_jspx_th_s_textfield_0.setTheme("simple");
_jspx_th_s_textfield_0.setName("categoryItem.name");
int _jspx_eval_s_textfield_0 = _jspx_th_s_textfield_0.doStartTag();
if (_jspx_th_s_textfield_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_textfield_theme_name_nobody.reuse(_jspx_th_s_textfield_0);
return true;
}
_jspx_tagPool_s_textfield_theme_name_nobody.reuse(_jspx_th_s_textfield_0);
return false;
}
private boolean _jspx_meth_s_hidden_2(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:hidden
org.apache.struts2.views.jsp.ui.HiddenTag _jspx_th_s_hidden_2 = (org.apache.struts2.views.jsp.ui.HiddenTag) _jspx_tagPool_s_hidden_name_nobody.get(org.apache.struts2.views.jsp.ui.HiddenTag.class);
_jspx_th_s_hidden_2.setPageContext(_jspx_page_context);
_jspx_th_s_hidden_2.setParent(null);
_jspx_th_s_hidden_2.setName("categoryItem.imageFileId");
int _jspx_eval_s_hidden_2 = _jspx_th_s_hidden_2.doStartTag();
if (_jspx_th_s_hidden_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_hidden_name_nobody.reuse(_jspx_th_s_hidden_2);
return true;
}
_jspx_tagPool_s_hidden_name_nobody.reuse(_jspx_th_s_hidden_2);
return false;
}
private boolean _jspx_meth_s_file_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// s:file
org.apache.struts2.views.jsp.ui.FileTag _jspx_th_s_file_0 = (org.apache.struts2.views.jsp.ui.FileTag) _jspx_tagPool_s_file_theme_name_nobody.get(org.apache.struts2.views.jsp.ui.FileTag.class);
_jspx_th_s_file_0.setPageContext(_jspx_page_context);
_jspx_th_s_file_0.setParent(null);
_jspx_th_s_file_0.setTheme("simple");
_jspx_th_s_file_0.setName("Image");
int _jspx_eval_s_file_0 = _jspx_th_s_file_0.doStartTag();
if (_jspx_th_s_file_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
_jspx_tagPool_s_file_theme_name_nobody.reuse(_jspx_th_s_file_0);
return true;
}
_jspx_tagPool_s_file_theme_name_nobody.reuse(_jspx_th_s_file_0);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -