📄 dms_0002fsystem_0002forgaddedit_0002ejsp_jsp.java
字号:
package DMS.system;
import com.jasson.business.document.RecipientDAO;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class DMS_0002fsystem_0002fOrgAddEdit_0002ejsp_jsp extends HttpJspBase {
static {
}
public DMS_0002fsystem_0002fOrgAddEdit_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
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;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=big5");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(0,64);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(1,61);to=(2,0)]
out.write("\r\n");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(2,2);to=(23,0)]
String Flag=(String)request.getParameter("Flag");
String pageSel="1";
int RecipientID=0;
String OrgName="";
String Addr="";
String ZipCode="";
String OrgID="";
int Transfer=1;
if(request.getAttribute("RecipientDAO")!=null)
{
Flag="Edit";
RecipientDAO recipientDAO=(RecipientDAO)request.getAttribute("RecipientDAO");
RecipientID=recipientDAO.getRecipientID();
OrgName=recipientDAO.getRecipientName();
Addr=recipientDAO.getRecipientAddress();
ZipCode=recipientDAO.getZipCode();
OrgID=recipientDAO.getOrgID();
Transfer=Integer.parseInt(recipientDAO.geteTransfer());
pageSel=(String)request.getAttribute("pageSel");
}
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(23,2);to=(54,40)]
out.write("\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=big5\">\r\n<HTML>\r\n<HEAD>\r\n<META NAME=\"GENERATOR\" Content=\"Microsoft Visual Studio 6.0\">\r\n<TITLE></TITLE>\r\n</HEAD>\r\n<script>\r\n function OK()\r\n {\r\n if(form1.OrgName.value==\"\")\r\n {\r\n alert(\"機關名稱不能為空\");\r\n return false;\r\n }\r\n if(form1.OrgID.value==\"\")\r\n {\r\n alert(\"機關代碼不能為空\");\r\n return false;\r\n }\r\n top.close();\r\n }\r\n</script>\r\n<LINK href=\"../DMS/inc/DatePicker.css\" rel=stylesheet type=text/css>\r\n<link rel=\"stylesheet\" href=\"/WebAgenda/css_style/form/form_css_1.css\">\r\n<link rel=\"stylesheet\" href=\"../inc/cn.css\" type=\"text/css\">\r\n<body onload=\"form1.pageSel.value=window.dialogArguments\" bgcolor=\"#FFFFFF\" text=\"#000000\" background=\"/WebAgenda/images/contant_bg.gif\" class=\"form_text_2\">\r\n<form name=form1 action=\"/WebAgenda/servlet/OrgDocServlet\" target=\"basefrm\">\r\n<br>\r\n<P>\r\n<table width=\"90%\" bgcolor=\"#666E66\" cellspacing=\"1\" border=\"1\" align=\"center\">\r\n <input type=\"hidden\" name=Flag value=\"");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(54,43);to=(54,47)]
out.print(Flag);
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(54,49);to=(55,42)]
out.write("\">\r\n <input type=\"hidden\" name=pageSel value=");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(55,45);to=(55,52)]
out.print(pageSel);
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(55,54);to=(56,46)]
out.write(">\r\n <input type=\"hidden\" name=RecipientID value=");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(56,49);to=(56,60)]
out.print(RecipientID);
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(56,62);to=(60,73)]
out.write(">\r\n <TR>\r\n <TD class=\"form_text_3\">機關名稱</TD>\r\n \r\n <TD class=\"form_text_4\" nowrap><INPUT id=OrgName name=OrgName value=\"");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(60,76);to=(60,83)]
out.print(OrgName);
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(60,85);to=(63,67)]
out.write("\" style=\"HEIGHT: 22px\" size=42></TD></TR>\r\n <TR>\r\n <TD class=\"form_text_3\">地址</TD>\r\n <TD class=\"form_text_4\" nowrap><INPUT id=Addr name=Addr value=\"");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(63,70);to=(63,74)]
out.print(Addr);
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(63,76);to=(66,73)]
out.write("\" style=\"HEIGHT: 22px\" size=42></TD></TR>\r\n <TR>\r\n <TD class=\"form_text_3\">郵件編號</TD>\r\n <TD class=\"form_text_4\" nowrap><INPUT id=ZipCode name=ZipCode value=\"");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(66,76);to=(66,83)]
out.print(ZipCode);
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(66,85);to=(70,69)]
out.write("\"\r\n style=\"HEIGHT: 22px\" size=42></TD></TR>\r\n <TR>\r\n <TD class=\"form_text_3\">機關代碼</TD>\r\n <TD class=\"form_text_4\" nowrap><INPUT id=OrgID name=OrgID value=\"");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(70,72);to=(70,77)]
out.print(OrgID);
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(70,79);to=(74,29)]
out.write("\" style=\" HEIGHT: 22px\" size=42></TD></TR>\r\n <TR>\r\n <TD class=\"form_text_3\">是否電子交換</TD>\r\n <TD class=\"form_text_4\" nowrap><SELECT id=Transfer style=\"WIDTH: 47px\" \r\n name=Transfer> <OPTION ");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(74,31);to=(74,73)]
if(Transfer==1) out.println("selected ");
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(74,75);to=(74,107)]
out.write(" value=1 >是</OPTION><OPTION ");
// end
// begin [file="/DMS/system/OrgAddEdit.jsp";from=(74,109);to=(74,151)]
if(Transfer!=1) out.println("selected ");
// end
// HTML // begin [file="/DMS/system/OrgAddEdit.jsp";from=(74,153);to=(86,0)]
out.write(" value=0>否</OPTION></SELECT></TD></TR>\r\n \r\n \r\n \r\n </TABLE>\r\n \r\n </P>\r\n <p><INPUT id=submit1 type=submit value=確定 name=submit1 onclick=\"return OK()\"><INPUT id=reset1 type=reset value=取消 name=reset1 onclick=\"top.close()\">\r\n </P>\r\n</form>\r\n</BODY>\r\n</HTML>\r\n");
// end
} catch (Throwable t) {
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 + -