📄 th_005flist_jsp.java
字号:
package org.apache.jsp.th;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import com.business.*;
import com.common.util.*;
import com.common.resource.*;
import com.common.search.*;
import java.util.*;
import com.web.util.*;
import com.business.vo.User;
public final class th_005flist_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(6);
_jspx_dependants.add("/WEB-INF/struts-html.tld");
_jspx_dependants.add("/WEB-INF/struts-bean.tld");
_jspx_dependants.add("/WEB-INF/Page.tld");
_jspx_dependants.add("/th/../include/include.inc");
_jspx_dependants.add("/th/../include/show_message.jsp");
_jspx_dependants.add("/th/../include/PageMan.inc");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_myTag_place_name;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_myTag_command_roleCode_resourceCode_name_formName_nobody;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_myTag_place_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_myTag_command_roleCode_resourceCode_name_formName_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_myTag_place_name.release();
_jspx_tagPool_myTag_command_roleCode_resourceCode_name_formName_nobody.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;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=GB2312");
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("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
out.write("<HTML>\r\n");
out.write("<HEAD>\r\n");
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("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<META http-equiv=\"Content-Type\" content=\"text/html; charset=GB18030\">\r\n");
out.write("<META name=\"GENERATOR\" content=\"IBM WebSphere Studio\">\r\n");
out.write("<META http-equiv=\"Content-Style-Type\" content=\"text/css\">\r\n");
out.write("<LINK href=\"");
out.print(request.getContextPath());
out.write("/style/style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("<script language=javascript src=\"");
out.print(request.getContextPath());
out.write("/js/layer.js\"></script>\r\n");
out.write("<script language=javascript src=\"");
out.print(request.getContextPath());
out.write("/js/style.js\"></script>\r\n");
out.write("<script language=javascript src=\"");
out.print(request.getContextPath());
out.write("/js/univerify.js\"></script>\r\n");
out.write("<script language=javascript src=\"");
out.print(request.getContextPath());
out.write("/js/manage.js\"></script>\r\n");
out.write("<script language=javascript src=\"");
out.print(request.getContextPath());
out.write("/js/DateInput.js\"></script>\r\n");
out.write("\r\n");
out.write("<TITLE>th_list.jsp</TITLE>\r\n");
out.write("</HEAD>\r\n");
out.write(" \r\n");
out.write("<script language=javascript>\r\n");
out.write("\tfunction add(){\r\n");
out.write("\t\tlocation.href = 'th_add.jsp';\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction edit(){\r\n");
out.write("\t\tupdate(document.thForm,'th');\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction remove(){\r\n");
out.write("\t\tdel(document.thForm);\r\n");
out.write("\t} \r\n");
out.write("\t\r\n");
out.write("</script>\r\n");
out.write("<BODY>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
User loginUserInfo ;
String SESSION_ROLE_ID = "";
String SESSION_USER_ID = "";
if(request.getSession().getAttribute("LOGIN_USER")!=null){
loginUserInfo = (User)request.getSession().getAttribute("LOGIN_USER");
SESSION_ROLE_ID = loginUserInfo.getRoleId();
SESSION_USER_ID = loginUserInfo.getUserId();
}else{
out.println("<script language=javascript>self.parent.location.href='/jxcWeb/login.jsp';</script>");
}
if(session.getAttribute("PAGE_MANAGE")!=null){
PageUrlManage pManage = (PageUrlManage)session.getAttribute("PAGE_MANAGE");
out.println("<script language=javascript>openNewWindow('"+request.getContextPath()+pManage.getMessagePageUrl()+"');</script>");
}
out.write("\r\n");
out.write(" \r\n");
out.write(" \r\n");
// myTag:place
com.web.tag.Place _jspx_th_myTag_place_0 = (com.web.tag.Place) _jspx_tagPool_myTag_place_name.get(com.web.tag.Place.class);
_jspx_th_myTag_place_0.setPageContext(_jspx_page_context);
_jspx_th_myTag_place_0.setParent(null);
_jspx_th_myTag_place_0.setName("库存管理<b>--></b>退货管理<b>");
int _jspx_eval_myTag_place_0 = _jspx_th_myTag_place_0.doStartTag();
if (_jspx_eval_myTag_place_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write('\r');
out.write('\n');
out.write(' ');
// myTag:command
com.web.tag.Command _jspx_th_myTag_command_0 = (com.web.tag.Command) _jspx_tagPool_myTag_command_roleCode_resourceCode_name_formName_nobody.get(com.web.tag.Command.class);
_jspx_th_myTag_command_0.setPageContext(_jspx_page_context);
_jspx_th_myTag_command_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_myTag_place_0);
_jspx_th_myTag_command_0.setName("th");
_jspx_th_myTag_command_0.setFormName("thForm");
_jspx_th_myTag_command_0.setRoleCode(SESSION_ROLE_ID);
_jspx_th_myTag_command_0.setResourceCode(ResourceIdManage.getThResId());
int _jspx_eval_myTag_command_0 = _jspx_th_myTag_command_0.doStartTag();
if (_jspx_th_myTag_command_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_myTag_command_roleCode_resourceCode_name_formName_nobody.reuse(_jspx_th_myTag_command_0);
out.write('\r');
out.write('\n');
int evalDoAfterBody = _jspx_th_myTag_place_0.doAfterBody();
if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
break;
} while (true);
}
if (_jspx_th_myTag_place_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
_jspx_tagPool_myTag_place_name.reuse(_jspx_th_myTag_place_0);
out.write("\r\n");
out.write("<TABLE class=table-top03 cellSpacing=0 cellPadding=0 width=\"100%\" align=center border=0>\r\n");
out.write("\t<TBODY>\r\n");
out.write("\t\t<TR>\r\n");
out.write("\t\t\t<TD>\r\n");
out.write("\t\t\t<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>\r\n");
out.write("\t\t\t\t<TBODY>\r\n");
out.write("\t\t\t\t\t<TR>\r\n");
out.write("\t\t\t\t\t\t<TD width=\"3%\"></TD>\r\n");
out.write("\t\t\t\t\t\t<TD width=\"90%\">查询条件</TD>\r\n");
out.write("\t\t\t\t\t\t<TD align=right width=\"7%\">\r\n");
out.write("\t\t\t\t\t\t\t<IMG class=img01 onmouseover=\"this.style.cursor = 'hand';\"onclick=showdetailMin(this,searchTable) height=12 src=\"../images/title_minimize.gif\" width=12> \r\n");
out.write("\t\t\t\t\t\t\t<IMG class=img01 onmouseover=\"this.style.cursor = 'hand';\"onclick=showdetailMax(this,searchTable) height=12\tsrc=\"../images/title_maximize.gif\" width=12> \r\n");
out.write("\t\t\t\t\t\t</TD>\r\n");
out.write("\t\t\t\t\t</TR>\r\n");
out.write("\t\t\t\t</TBODY>\r\n");
out.write("\t\t\t</TABLE>\r\n");
out.write("\t\t\t</TD>\r\n");
out.write("\t\t</TR>\r\n");
out.write("\t</TBODY>\r\n");
out.write("</TABLE>\r\n");
out.write("<FORM name=searchForm action=th_list.jsp method=post>\r\n");
out.write("<TABLE class=table-top02 id=searchTable cellSpacing=0 cellPadding=0\twidth=\"100%\" align=center border=0>\r\n");
out.write("\t<TBODY>\r\n");
out.write("\t\t<TR>\r\n");
out.write("\t\t\t<TD class=top-td01 align=left>货品名称:</TD>\r\n");
out.write("\t\t\t<TD class=top-td01 align=left><INPUT class=input01 size=30 name=name></TD>\r\n");
out.write("\t\t\t<TD class=top-td01 align=left>货品类型:</TD>\r\n");
out.write("\t\t\t<TD class=top-td01 align=left>\r\n");
out.write("\t\t\t\t");
out.print(FormElements.getDropList("select name,id from goodsType","type"));
out.write("\r\n");
out.write("\t\t\t</TD>\t\t\r\n");
out.write("\t\t\t<TD class=top-td01 align=left>退货时间:</TD>\r\n");
out.write("\t\t\t<TD class=top-td01 align=left>\r\n");
out.write("\t\t\t\t");
out.print(FormElements.getDateInput("searchForm","outDate",request.getContextPath()+"/images/calendar.gif"));
out.write("\r\n");
out.write("\t\t\t</TD>\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -