📄 addpricing_jsp.java
字号:
package org.apache.jsp.pricing;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class addPricing_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(1);
_jspx_dependants.add("/WEB-INF/struts-html.tld");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_form_method_action;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_text_property_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_html_textarea_property_nobody;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_html_form_method_action = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_html_text_property_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_html_textarea_property_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.release();
_jspx_tagPool_html_form_method_action.release();
_jspx_tagPool_html_text_property_nobody.release();
_jspx_tagPool_html_textarea_property_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=GBK");
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\n\r\n\r\n\r\n<html>\r\n<head>\r\n<title>资费管理</title>\r\n<style type=\"text/css\">\r\n<!--\r\n@import url(\"/app/son.css\");\r\n@import url(\"/app/index.css\");\r\n-->\r\n</style>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link href=\"/app/index.css\" rel=\"stylesheet\" type=\"text/css\">\r\n</head>\r\n<body bgcolor=\"#ccddee\" background=\"/app/image/background.jpg\" link=\"#000066\" vlink=\"#0066FF\" alink=\"#99FF00\">\r\n<hr size=\"1\" noshade>\r\n<div align=\"center\">\r\n\r\n <table width=\"91%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"ccccff\" bgcolor=\"ccddee\">\r\n <tr bgcolor=\"#ccddee\" class=\"pp\">\r\n <td width=\"13%\" height=\"24\"><span class=\"yellow\">添加资费</span><span class=\"9P\">\r\n </span> </td>\r\n\r\n <td width=\"13%\"><span class=\"9P\"><a href=\"list.do\" class=\"text_link\">资费列表</a></span></td>\r\n </tr>\r\n </table>\r\n");
if (_jspx_meth_c_if_0(_jspx_page_context))
return;
out.write("\r\n ");
if (_jspx_meth_html_form_0(_jspx_page_context))
return;
out.write("\r\n</div>\r\n<center>\r\n <p class=\"9P\"> </p>\r\n <hr/>\r\n <p class=\"text_link\"><font size=\"2\" face=\"宋体\">About Tarena - 公司简介 - 联系方法 - 相关法律\r\n - 客户服务 <br>\r\n 达内公司版权所有</font></p>\r\n <p class=\"text_link\"><font size=\"-1\">Copyright <img src=\"/image/c-00.gif\" width=\"9\" height=\"9\"> 2000.\r\n Tarena Technologies Inc. All Rights Reserved </font></p>\r\n</center>\r\n</body>\r\n</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_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("${empty error}", 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<font color=\"red\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${error}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
out.write("</font>\r\n");
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_html_form_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:form
org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = (org.apache.struts.taglib.html.FormTag) _jspx_tagPool_html_form_method_action.get(org.apache.struts.taglib.html.FormTag.class);
_jspx_th_html_form_0.setPageContext(_jspx_page_context);
_jspx_th_html_form_0.setParent(null);
_jspx_th_html_form_0.setMethod("post");
_jspx_th_html_form_0.setAction("add.do");
int _jspx_eval_html_form_0 = _jspx_th_html_form_0.doStartTag();
if (_jspx_eval_html_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n <p class=\"pp\">添加新的资费政策</p>\r\n <table width=\"91%\" border=\"1\" bordercolor=\"#ccccff\" bgcolor=\"#ccddee\" class=\"9P\">\r\n <tr>\r\n <td width=\"12%\">资费名称</td>\r\n <td width=\"30%\">");
if (_jspx_meth_html_text_0(_jspx_th_html_form_0, _jspx_page_context))
return true;
out.write("</td>\r\n <td>请输入新建资费名称(只允许用英文,数字,下划线,区分大小写)</td>\r\n </tr>\r\n <tr>\r\n <td>月租费用</td>\r\n <td>");
if (_jspx_meth_html_text_1(_jspx_th_html_form_0, _jspx_page_context))
return true;
out.write("</td>\r\n <td>请选择新建资费的月租费用(只允许输入数字或小数点)</td>\r\n </tr>\r\n <tr>\r\n <td>每小时费用</td>\r\n <td>");
if (_jspx_meth_html_text_2(_jspx_th_html_form_0, _jspx_page_context))
return true;
out.write("</td>\r\n <td>请输入每小时的费用(只允许用数字或小数点)</td>\r\n </tr>\r\n <tr>\r\n <td height=\"10\">资费描述</td>\r\n <td>");
if (_jspx_meth_html_textarea_0(_jspx_th_html_form_0, _jspx_page_context))
return true;
out.write("</td>\r\n <td>请输入对新建资费的简单描述(最多256个汉字)</td>\r\n </tr>\r\n <tr>\r\n <td><div align=\"right\"> </div></td>\r\n <td> </td>\r\n <td> \r\n <input type=\"submit\" name=\"Submit2\" value=\"提交\">\r\n <input type=\"reset\" name=\"Submit\" value=\"清除\"> </td>\r\n </tr>\r\n </table>\r\n <p> </p>\r\n ");
int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_form_method_action.reuse(_jspx_th_html_form_0);
return false;
}
private boolean _jspx_meth_html_text_0(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_0 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_0.setPageContext(_jspx_page_context);
_jspx_th_html_text_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_0.setProperty("pricingName");
int _jspx_eval_html_text_0 = _jspx_th_html_text_0.doStartTag();
if (_jspx_th_html_text_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_0);
return false;
}
private boolean _jspx_meth_html_text_1(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_1 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_1.setPageContext(_jspx_page_context);
_jspx_th_html_text_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_1.setProperty("baseFee");
int _jspx_eval_html_text_1 = _jspx_th_html_text_1.doStartTag();
if (_jspx_th_html_text_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_1);
return false;
}
private boolean _jspx_meth_html_text_2(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:text
org.apache.struts.taglib.html.TextTag _jspx_th_html_text_2 = (org.apache.struts.taglib.html.TextTag) _jspx_tagPool_html_text_property_nobody.get(org.apache.struts.taglib.html.TextTag.class);
_jspx_th_html_text_2.setPageContext(_jspx_page_context);
_jspx_th_html_text_2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_text_2.setProperty("rateFee");
int _jspx_eval_html_text_2 = _jspx_th_html_text_2.doStartTag();
if (_jspx_th_html_text_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_text_property_nobody.reuse(_jspx_th_html_text_2);
return false;
}
private boolean _jspx_meth_html_textarea_0(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// html:textarea
org.apache.struts.taglib.html.TextareaTag _jspx_th_html_textarea_0 = (org.apache.struts.taglib.html.TextareaTag) _jspx_tagPool_html_textarea_property_nobody.get(org.apache.struts.taglib.html.TextareaTag.class);
_jspx_th_html_textarea_0.setPageContext(_jspx_page_context);
_jspx_th_html_textarea_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
_jspx_th_html_textarea_0.setProperty("pricingDesc");
int _jspx_eval_html_textarea_0 = _jspx_th_html_textarea_0.doStartTag();
if (_jspx_th_html_textarea_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_html_textarea_property_nobody.reuse(_jspx_th_html_textarea_0);
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -