📄 main_jsp_0.java
字号:
// begin [file="/master/port/main.jsp";from=(13,7);to=(13,43)]
if (_jspx_th_bean_message_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(13,43);to=(22,30)]
out.write("</TITLE>\r\n<SCRIPT Language=\"JavaScript\">\r\nfunction validate()\r\n{\r\n\tvar form = document.forms[0];\r\n\tvar mode = form.mode.value;\r\n\t\r\n\tinitMsg();\r\n\tif (mode == 'addNew'){\r\n\t\tif (chkEmpty(form.port_id, \"");
// end
// begin [file="/master/port/main.jsp";from=(22,30);to=(22,66)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_1 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_1.setPageContext(pageContext);
_jspx_th_bean_message_1.setParent(null);
_jspx_th_bean_message_1.setKey("SM_Port.portId");
_jspxTagObjects.push(_jspx_th_bean_message_1);
int _jspx_eval_bean_message_1 = _jspx_th_bean_message_1.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(22,30);to=(22,66)]
if (_jspx_th_bean_message_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(22,66);to=(24,25)]
out.write("\"))\r\n\t\t{\r\n\t\t\tchkKey(form.port_id, \"");
// end
// begin [file="/master/port/main.jsp";from=(24,25);to=(24,61)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_2 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_2.setPageContext(pageContext);
_jspx_th_bean_message_2.setParent(null);
_jspx_th_bean_message_2.setKey("SM_Port.portId");
_jspxTagObjects.push(_jspx_th_bean_message_2);
int _jspx_eval_bean_message_2 = _jspx_th_bean_message_2.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(24,25);to=(24,61)]
if (_jspx_th_bean_message_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(24,61);to=(27,37)]
out.write("\");\r\n\t\t}\r\n\t}\r\n\tif (chkEmpty(form.description_eng, \"");
// end
// begin [file="/master/port/main.jsp";from=(27,37);to=(27,81)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_3 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_3.setPageContext(pageContext);
_jspx_th_bean_message_3.setParent(null);
_jspx_th_bean_message_3.setKey("SM_Port.descriptionEng");
_jspxTagObjects.push(_jspx_th_bean_message_3);
int _jspx_eval_bean_message_3 = _jspx_th_bean_message_3.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(27,37);to=(27,81)]
if (_jspx_th_bean_message_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(27,81);to=(29,35)]
out.write("\"))\r\n\t{\r\n\t\tchkLength(form.description_eng, \"");
// end
// begin [file="/master/port/main.jsp";from=(29,35);to=(29,79)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_4 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_4.setPageContext(pageContext);
_jspx_th_bean_message_4.setParent(null);
_jspx_th_bean_message_4.setKey("SM_Port.descriptionEng");
_jspxTagObjects.push(_jspx_th_bean_message_4);
int _jspx_eval_bean_message_4 = _jspx_th_bean_message_4.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(29,35);to=(29,79)]
if (_jspx_th_bean_message_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(29,79);to=(31,37)]
out.write("\", 200);\r\n\t}\r\n\tif (chkEmpty(form.description_cht, \"");
// end
// begin [file="/master/port/main.jsp";from=(31,37);to=(31,81)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_5 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_5.setPageContext(pageContext);
_jspx_th_bean_message_5.setParent(null);
_jspx_th_bean_message_5.setKey("SM_Port.descriptionCht");
_jspxTagObjects.push(_jspx_th_bean_message_5);
int _jspx_eval_bean_message_5 = _jspx_th_bean_message_5.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(31,37);to=(31,81)]
if (_jspx_th_bean_message_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(31,81);to=(33,35)]
out.write("\"))\r\n\t{\r\n\t\tchkLength(form.description_cht, \"");
// end
// begin [file="/master/port/main.jsp";from=(33,35);to=(33,79)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_6 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_6.setPageContext(pageContext);
_jspx_th_bean_message_6.setParent(null);
_jspx_th_bean_message_6.setKey("SM_Port.descriptionCht");
_jspxTagObjects.push(_jspx_th_bean_message_6);
int _jspx_eval_bean_message_6 = _jspx_th_bean_message_6.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(33,35);to=(33,79)]
if (_jspx_th_bean_message_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(33,79);to=(35,37)]
out.write("\", 200);\r\n\t}\r\n\tif (chkEmpty(form.description_chs, \"");
// end
// begin [file="/master/port/main.jsp";from=(35,37);to=(35,81)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_7 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_7.setPageContext(pageContext);
_jspx_th_bean_message_7.setParent(null);
_jspx_th_bean_message_7.setKey("SM_Port.descriptionChs");
_jspxTagObjects.push(_jspx_th_bean_message_7);
int _jspx_eval_bean_message_7 = _jspx_th_bean_message_7.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(35,37);to=(35,81)]
if (_jspx_th_bean_message_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(35,81);to=(37,35)]
out.write("\"))\r\n\t{\r\n\t\tchkLength(form.description_chs, \"");
// end
// begin [file="/master/port/main.jsp";from=(37,35);to=(37,79)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_8 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_8.setPageContext(pageContext);
_jspx_th_bean_message_8.setParent(null);
_jspx_th_bean_message_8.setKey("SM_Port.descriptionChs");
_jspxTagObjects.push(_jspx_th_bean_message_8);
int _jspx_eval_bean_message_8 = _jspx_th_bean_message_8.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(37,35);to=(37,79)]
if (_jspx_th_bean_message_8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(37,79);to=(39,31)]
out.write("\", 200);\r\n\t}\r\n//\tchkEmpty(form.district_id, \"");
// end
// begin [file="/master/port/main.jsp";from=(39,31);to=(39,71)]
/* ------ bean:message ------ */
org.apache.struts.taglib.bean.MessageTag _jspx_th_bean_message_9 = new org.apache.struts.taglib.bean.MessageTag();
_jspx_th_bean_message_9.setPageContext(pageContext);
_jspx_th_bean_message_9.setParent(null);
_jspx_th_bean_message_9.setKey("SM_Port.districtId");
_jspxTagObjects.push(_jspx_th_bean_message_9);
int _jspx_eval_bean_message_9 = _jspx_th_bean_message_9.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(39,31);to=(39,71)]
if (_jspx_th_bean_message_9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(39,71);to=(54,0)]
out.write("\");\t\t\r\n\t\r\n\tif (errorMsg.length > 0)\r\n\t{\r\n\t\tshowMsg();\r\n\t\treturn false;\r\n\t}\r\n\telse\r\n\t{\r\n\t\treturn true;\r\n\t}\r\n}\r\n</SCRIPT>\r\n</HEAD>\r\n<BODY>\r\n");
// end
// begin [file="/master/port/main.jsp";from=(54,0);to=(54,31)]
/* ------ chtml:baseBanner ------ */
com.leeman.common.web.ui.tags.BaseBannerTag _jspx_th_chtml_baseBanner_0 = new com.leeman.common.web.ui.tags.BaseBannerTag();
_jspx_th_chtml_baseBanner_0.setPageContext(pageContext);
_jspx_th_chtml_baseBanner_0.setParent(null);
_jspx_th_chtml_baseBanner_0.setMode("enq");
_jspxTagObjects.push(_jspx_th_chtml_baseBanner_0);
int _jspx_eval_chtml_baseBanner_0 = _jspx_th_chtml_baseBanner_0.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(54,0);to=(54,31)]
if (_jspx_th_chtml_baseBanner_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(54,31);to=(55,0)]
out.write("\r\n");
// end
// begin [file="/master/port/main.jsp";from=(55,0);to=(55,38)]
/* ------ html:form ------ */
org.apache.struts.taglib.html.FormTag _jspx_th_html_form_0 = new org.apache.struts.taglib.html.FormTag();
_jspx_th_html_form_0.setPageContext(pageContext);
_jspx_th_html_form_0.setParent(null);
_jspx_th_html_form_0.setAction("/master/port/main");
_jspxTagObjects.push(_jspx_th_html_form_0);
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 {
// end
// HTML // begin [file="/master/port/main.jsp";from=(55,38);to=(56,0)]
out.write("\r\n");
// end
// begin [file="/master/port/main.jsp";from=(56,0);to=(56,30)]
/* ------ html:hidden ------ */
org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_0 = new org.apache.struts.taglib.html.HiddenTag();
_jspx_th_html_hidden_0.setPageContext(pageContext);
_jspx_th_html_hidden_0.setParent(_jspx_th_html_form_0);
_jspx_th_html_hidden_0.setProperty("mode");
_jspxTagObjects.push(_jspx_th_html_hidden_0);
int _jspx_eval_html_hidden_0 = _jspx_th_html_hidden_0.doStartTag();
// end
// begin [file="/master/port/main.jsp";from=(56,0);to=(56,30)]
if (_jspx_th_html_hidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
((javax.servlet.jsp.tagext.Tag)_jspxTagObjects.pop()).release();
// end
// HTML // begin [file="/master/port/main.jsp";from=(56,30);to=(57,0)]
out.write("\r\n");
// end
// begin [file="/master/port/main.jsp";from=(57,0);to=(57,23)]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -