?? supplyinfo_005foperate1_jsp.java
字號:
package org.apache.jsp.imis_005fmate;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class SupplyInfo_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.jsp", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n\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");
int sSupplyNo = new Integer(request.getParameter("tsupplyNo")).intValue();
String sAction = request.getParameter("TAction");
int i = 0;
String sSupplyName = request.getParameter("tsupplyName");
String sTele = request.getParameter("ttele");
String sAddr = request.getParameter("taddr");
String sAttPerson = request.getParameter("tattPerson");
String sAcccount = request.getParameter("tacccount");
String sBank = request.getParameter("tbank");
String sRemark = request.getParameter("tremark");
out.write("\r\n");
imis_mate.supplyInfo_maintain SupplyInfo_maintain = null;
synchronized (pageContext) {
SupplyInfo_maintain = (imis_mate.supplyInfo_maintain) pageContext.getAttribute("SupplyInfo_maintain", PageContext.PAGE_SCOPE);
if (SupplyInfo_maintain == null){
try {
SupplyInfo_maintain = (imis_mate.supplyInfo_maintain) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "imis_mate.supplyInfo_maintain");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException("Cannot create bean of class " + "imis_mate.supplyInfo_maintain", exc);
}
pageContext.setAttribute("SupplyInfo_maintain", SupplyInfo_maintain, PageContext.PAGE_SCOPE);
}
}
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "supplyNo",
sSupplyNo);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "supplyName",
sSupplyName);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "tele",
sTele);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "addr",
sAddr);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "attPerson",
sAttPerson);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "acccount",
sAcccount);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "bank",
sBank);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "remark",
sRemark);
out.write("\r\n");
org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(pageContext.findAttribute("SupplyInfo_maintain"), "action",
sAction);
out.write("\r\n\r\n");
//String result = organ_maintain.GBtoISO(organ_maintain.processthis());
String result = SupplyInfo_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 + -