📄 organ_005foperate1_jsp.java
字号:
package org.apache.jsp.imis_005fmanager;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.Date;
public final class Organ_005fOperate1_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List 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;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"/error/error.jsp", true, 8192, true);
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("<HTML>\r\n");
out.write("<HEAD>\r\n");
out.write("<TITLE>部门信息维护");
out.write("</TITLE>\r\n");
out.write("<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html\"; charset=\"gb2312\">\r\n");
out.write("<link href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("</HEAD>\r\n");
out.write("<script language=\"JavaScript\">\r\nfunction Close(s){\r\n\t\twindow.moveTo(-400,-400);\r\n\t\tif (window.opener){\r\n\t\t\twindow.opener.parent.parent.parent.iframe_Main.location.href=window.opener.parent.parent.parent.iframe_Main.location.href;\r\n\t\t}\t\r\n\t\twindow.alert(s);\r\n\t\twindow.close();\t\t\t\r\n}\r\n");
out.write("</script>\r\n");
String sOrganID =request.getParameter("TOrganID");
String sSupOrganID =request.getParameter("TSupOrganID");
String sOrganName =request.getParameter("TOrganName");
String sOrganAddr =request.getParameter("TOrganAddr");
String sTelephone =request.getParameter("TTelephone");
String sFax =request.getParameter("TFax");
String sPostal =request.getParameter("TPostal");
String sRemark =request.getParameter("TRemark");
String sAction =request.getParameter("TAction");
out.write("\r\n");
imis_manager.organ_maintain organ_maintain = null;
synchronized (pageContext) {
organ_maintain = (imis_manager.organ_maintain) pageContext.getAttribute("organ_maintain", PageContext.PAGE_SCOPE);
if (organ_maintain == null){
try {
organ_maintain = (imis_manager.organ_maintain) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "imis_manager.organ_maintain");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "imis_manager.organ_maintain", exc);
}
pageContext.setAttribute("organ_maintain", organ_maintain, PageContext.PAGE_SCOPE);
}
}
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "organID",
sOrganID);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "supOrganID",
sSupOrganID);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "organName",
sOrganName);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "organAddr",
sOrganAddr);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "telephone",
sTelephone);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "fax",
sFax);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "postal",
sPostal);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "remark",
sRemark);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("organ_maintain"), "action",
sAction);
out.write("\r\n\r\n");
//String result = organ_maintain.GBtoISO(organ_maintain.processthis());
String result = organ_maintain.processthis();
String sParam = "javascript:Close('"+result+"')";
out.write("\r\n");
out.write("<body background=\"images/bg_main.png\"\tonload=\" ");
out.print(sParam);
out.write(" \">\r\n");
out.write("</body>\r\n");
out.write("</html>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -