📄 material_005fbuy_005finsert_jsp.java
字号:
package org.apache.jsp.imis_005fmate;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import imis_mate.DAO.*;
public final class Material_005fBuy_005finsert_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_table_requestURI_pagesize_name_id_class_border_align;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_column_width_title_property_headerClass_bgcolor_align;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_column_width_title_paramId_headerClass_bgcolor_align;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_setProperty_value_name;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_display_table_requestURI_pagesize_name_id_class_border_align = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_display_column_width_title_property_headerClass_bgcolor_align = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_display_column_width_title_paramId_headerClass_bgcolor_align = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_display_setProperty_value_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_c_if_test.release();
_jspx_tagPool_display_table_requestURI_pagesize_name_id_class_border_align.release();
_jspx_tagPool_display_column_width_title_property_headerClass_bgcolor_align.release();
_jspx_tagPool_display_column_width_title_paramId_headerClass_bgcolor_align.release();
_jspx_tagPool_display_setProperty_value_name.release();
}
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");
out.write("\r\n");
out.write("\r\n\r\n");
out.write("<html>\r\n\t");
out.write("<head>\r\n\r\n\r\n\t\t");
out.write("<title>入库信息录入");
out.write("</title>\r\n\t\t");
out.write("<link rel=\"stylesheet\" type=\"text/css\"\r\n\t\t\thref=\"/Imis/imis_mate/css/style.css\">\r\n\r\n\r\n\t\t");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=GB2312\">\r\n\t\t");
out.write("<script language=\"JavaScript\" src=\"/Imis/imis_mate/js/checkdata.js\">");
out.write("</script>\r\n\t\t");
out.write("<script language=\"JavaScript\" src=\"js/MaterialTable.js\">");
out.write("</script>\r\n\t\t");
out.write("<script type=\"text/javascript\" > \r\n\t\t\tfunction BuyInsertPag() {\r\n\t\t\t//采购入库\r\n\t\t\t\tform2.action = \"/Imis/servlet/MaterialServlet?pattern=BuyInsertPag\"\r\n\t\t\t}\r\n\t\t\tfunction AllotInsertPag() {\r\n\t\t\t//调拨入库 \r\n\t\t\t\tform2.action = \"/Imis/servlet/MaterialServlet?pattern=AllotInsertPag\";\t\r\n\t\t\t} \r\n\t\t\t\r\n\t\t\tfunction checkUser(){\r\n\t\t\t var userCode = document.form1.userCode.value;\r\n\t\t\t\r\n\t\t\t if (userCode==\"\") {\r\n \twindow.alert(\"请输入入库人\");\r\n \tdocument.form1.userCode.focus();\r\n \treturn false;\r\n \t}\r\n \treturn true;\r\n\t\t\t}\r\n\t\t");
out.write("</script > \r\n\t\t\r\n\r\n\t");
out.write("</head>\r\n\r\n\t");
out.write("<body background=\"/Imis/imis_mate/images/bg_main.png\">\r\n\t");
out.write("<form name=\"form2\" method=\"post\" action=\"\">\r\n\t\t");
out.write("<table class=\"tubiao\" width=\"100%\" border=\"0\"\r\n\t\t\tbackground=\"/Imis/imis_mate/images/bg_main2.png\">\r\n\t\t\t");
out.write("<tr>\r\n\t\t\t\t");
out.write("<td>\r\n\t\t\t\t\t入库信息录入_采购入库\r\n\t\t\t\t");
out.write("</td>\r\n\t\t\t");
out.write("</tr>\r\n\t\t");
out.write("</table>\r\n\t\t\r\n\t\t ");
out.write("<table width=\"100%\" border=\"0\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"13%\">");
out.write("<input type=\"submit\" name=\"Submit3\" value=\"调拨及其他入库\" onclick=\"AllotInsertPag()\" class=\"anniu\"/>");
out.write("</td>\r\n ");
out.write("<td width=\"87%\">");
out.write("<input type=\"submit\" name=\"Submit2\" value=\"采 购 入 库\" onclick=\"BuyInsertPag()\" class=\"anniu\"/>");
out.write("</td>\r\n");
out.write("\r\n ");
out.write("</tr>\r\n ");
out.write("</table>\r\n ");
out.write("</form>\r\n ");
// c:if
org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
_jspx_th_c_if_0.setPageContext(pageContext);
_jspx_th_c_if_0.setParent(null);
_jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.buyIntoMateList!=null}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("<div> \r\n ");
out.write("</div>");
out.write("<form name=\"form1\" method=\"post\" action=\"/Imis/servlet/MaterialServlet?pattern=buyInsert\">");
out.write("<div> \r\n \r\n\t");
out.write("</div>");
out.write("<table width=\"100%\" border=\"0\" class=\"ziti\">\r\n\t ");
out.write("<tr>");
out.write("<td>\r\n\t ");
out.write("<font class=\"ziti\">");
out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${requestScope.success}", java.lang.String.class, (PageContext)pageContext, null, false));
out.write("</font>\r\n\t \t ");
if(((ArrayList)request.getSession().getAttribute("buyIntoMateList")).size()!=0){
out.write(" \r\n\t\t");
out.write("<table width=\"100%\" class=\"ziti\">");
out.write("<tr>\r\n\t ");
out.write("<td width=\"35%\"> \r\n\t ");
out.write("<td width=\"53%\">");
out.write("<div align=\"right\">入库人:\r\n\t ");
out.write("</div>\r\n\t ");
out.write("<td width=\"12%\" align=\"right\">");
out.write("<input name=\"userCode\" type=\"text\" class=\"text1\" size=\"10\"maxlength=\"30\" />");
out.write("<font color=\"red\">*");
out.write("</font>");
out.write("</td>\r\n\t \r\n\t ");
out.write("</tr>");
out.write("</table> \r\n\t \r\n\t \r\n\t \r\n\t ");
out.write("</td>");
out.write("<tr>\r\n\t ");
out.write("</tr>\r\n\t ");
out.write("<tr>\r\n\t ");
out.write("<td> \r\n\t\t\t ");
// display:table
org.displaytag.tags.TableTag _jspx_th_display_table_0 = (org.displaytag.tags.TableTag) _jspx_tagPool_display_table_requestURI_pagesize_name_id_class_border_align.get(org.displaytag.tags.TableTag.class);
_jspx_th_display_table_0.setPageContext(pageContext);
_jspx_th_display_table_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
_jspx_th_display_table_0.setName(new String("sessionScope.buyIntoMateList"));
_jspx_th_display_table_0.setId("MaterialBuyDetailBean");
_jspx_th_display_table_0.setPagesize(15);
_jspx_th_display_table_0.setRequestURI("/Imis/imis_mate/Material_Buy_insert.jsp");
_jspx_th_display_table_0.setBorder("0");
_jspx_th_display_table_0.setAlign("center");
_jspx_th_display_table_0.setClass("ziti");
int _jspx_eval_display_table_0 = _jspx_th_display_table_0.doStartTag();
if (_jspx_eval_display_table_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
java.lang.Object MaterialBuyDetailBean = null;
java.lang.Integer MaterialBuyDetailBean_rowNum = null;
org.displaytag.properties.MediaTypeEnum mediaType = null;
if (_jspx_eval_display_table_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = pageContext.pushBody();
_jspx_th_display_table_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_display_table_0.doInitBody();
}
MaterialBuyDetailBean = (java.lang.Object) pageContext.findAttribute("MaterialBuyDetailBean");
MaterialBuyDetailBean_rowNum = (java.lang.Integer) pageContext.findAttribute("MaterialBuyDetailBean_rowNum");
mediaType = (org.displaytag.properties.MediaTypeEnum) pageContext.findAttribute("mediaType");
do {
out.write("\r\n");
out.write("\r\n \t\t\t\t\t");
if (_jspx_meth_display_column_0(_jspx_th_display_table_0, pageContext))
return;
out.write("\r\n\t ");
if (_jspx_meth_display_column_1(_jspx_th_display_table_0, pageContext))
return;
out.write("\r\n\t ");
if (_jspx_meth_display_column_2(_jspx_th_display_table_0, pageContext))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -