📄 addzytz1form_jsp.java
字号:
package org.apache.jsp.WEB_002dINF.jsp.oa.admin.tiles;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class addzytz1Form_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
static {
_jspx_dependants = new java.util.ArrayList(3);
_jspx_dependants.add("/WEB-INF/tags/struts-bean.tld");
_jspx_dependants.add("/WEB-INF/tags/struts-html.tld");
_jspx_dependants.add("/WEB-INF/tags/struts-logic.tld");
}
public Object getDependants() {
return _jspx_dependants;
}
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");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<style>\r\n");
out.write("body,td,input,textarea {font-size:9pt}\r\n");
out.write("</style>\r\n");
out.write("<SCRIPT language=javascript src=\"Jslib.js\"></SCRIPT>\r\n");
out.write("<script language=\"JavaScript\">\r\n");
out.write("function checkItem()\r\n");
out.write("{\r\n");
out.write(" var flag=true;\r\n");
out.write(" \tif (isEmpty(document.forms[0].xsfl1n.value))\r\n");
out.write(" {\r\n");
out.write(" alert(\"通知标题不能为空!\");\r\n");
out.write(" document.forms[0].xsfl1n.focus();\r\n");
out.write(" flag = false;\r\n");
out.write(" }\r\n");
out.write(" else if (isEmpty(document.forms[0].zytztxt.value))\r\n");
out.write(" {\r\n");
out.write(" alert(\"通知内容不能为空!\");\r\n");
out.write(" document.forms[0].zytztxt.focus();\r\n");
out.write(" flag = false;\r\n");
out.write(" }\r\n");
out.write("return flag;\r\n");
out.write("}\r\n");
out.write("</script>\r\n");
out.write("<form action=\"addzytz1.do\" method=\"post\" enctype=\"multipart/form-data\" name=\"doublecombo\" id=\"FORM\" >\r\n");
out.write("<TABLE border=\"0\" cellpadding=\"2\" cellspacing=\"1\" width=100%>\r\n");
out.write("<tr><td colspan=2>第一步 添加重要通知</td></tr>\r\n");
out.write("<tr><td >通知标题:</td><td ><input name=\"xsfl1n\" type=\"text\" size=\"50\"></td></tr>\r\n");
out.write("<tr><td>通知内容</td><td></td></tr>\r\n");
out.write("<TR>\r\n");
out.write("\t<TD colspan=2>\r\n");
out.write("\t\t<INPUT type=\"hidden\" name=\"zytztxt\" value=\"请在此次添加新闻信息\">\r\n");
out.write("\t\t<IFRAME ID=\"eWebEditor1\" name=\"eWebEditor1\" src=\"../eWebEditor.jsp?id=zytztxt&style=standard\" frameborder=\"0\" scrolling=\"no\" width=\"100%\" height=\"350\"></IFRAME>\r\n");
out.write("\t</TD>\r\n");
out.write("</TR>\r\n");
out.write("<TR>\r\n");
out.write("\t<TD align=right onmouseover=\"check_nr();\" colspan=2>\r\n");
out.write("\t<INPUT type=submit name=b1 value=\"内容不为空提交进行下一步\" onmousedown=\"check_nr();\" onclick=\"return checkItem();\">\r\n");
out.write("\t</TD>\r\n");
out.write("</TR>\r\n");
out.write("</FORM>\r\n");
out.write("\r\n");
out.write("<script>\r\n");
out.write("function check_nr(){\r\n");
out.write("\tvar nr =window.eWebEditor1.eWebEditor.document.body.innerHTML;\r\n");
out.write("\tif(nr==\"<p> </p>\"||nr==\"<P> </P>\"){\r\n");
out.write("\t\talert(\"栏目内容不能为空,请填写内容后再提交!\")\r\n");
out.write("\t\tdocument.all.b1.disabled=\"yes\";\r\n");
out.write(" return fales;\r\n");
out.write("\t\t\t}\r\n");
out.write("\t\telse{\r\n");
out.write(" document.all.b1.disabled=\"\";\r\n");
out.write(" return true;\r\n");
out.write("\t}\r\n");
out.write("\r\n");
out.write("\t}\r\n");
out.write("</script>");
} 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);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -