try{lession_rsFenYe.setCurrentPage(Integer.parseInt(currentPage));}catch(Exception e){//如果参数不正确,设置当前页码为1 lession_rsFenYe.setCurrentPage(1);} *********************************************** public final wupin firstPage_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); private static java.util.List _jspx_dependants; privateorg.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fset_005fvar_005fvalue_005fnobody; privateorg.apache.jasper.runtime.TagHandlerPool 005fjspx_005ftagPool_005ffmt_005fformatDate_005fvalue_005fpattern_005fnobod; private javax.el.ExpressionFactory _el_expressionfactory; private org.apache.AnnotationProcessor _jsp_annotationprocessor; public Object getDependants() {return _jspx_dependants;} public void _jspInit() { _005fjspx_005ftagPool_005fc_005fset_005fvar_005fvalue_005fnobody= org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _005fjspx_005ftagPool_005ffmt_005fformatDate_005fvalue_005fpattern_005fnobody=org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig()); _el_expressionfactory= _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.wupin.getName());publicvoid_jspDestroy() { _005fjspx_005ftagPool_005fc_005fset_005fvar_005fvalue_005fnobody.release(); _005fjspx_005ftagPool_005ffmt_005fformatDate_005fvalue_005fpattern_005fnobody.release();} public void _jspService(HttpServletRequest request, HttpServletResponse response)throws java.io.IOException, ServletException { 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 {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("\r\n");out.write("\r\n");out.write("\r\n");out.write("\r\n"); out.write("<html>\r\n");out.write(" <body bgcolor=\"#DCDADA\">\r\n"); out.write(" <br><br><br><br><br>\r\n");out.write(" "); /c:setorg.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_005fset_005f0 =(org.apache.taglibs.standard.tag.rt.core.SetTag) _005fjspx_005ftagPool_005fc_005fset_005fvar_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.SetTag.wupin); _jspx_th_c_005fset_005f0.setPageContext(_jspx_page_context); _jspx_th_c_005fset_005f0.setParent(null); // /firstPage.jsp(8,5) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null _jspx_th_c_005fset_005f0.setVar("dateTest"); // /firstPage.jsp(8,5) name = value type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null_jspx_th_c_005fset_005f0.setValue(new Date()); int _jspx_eval_c_005fset_005f0 = _jspx_th_c_005fset_005f0.doStartTag(); if (_jspx_th_c_005fset_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {_005fjspx_005ftagPool_005fc_005fset_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005fset_005f0);return;} _005fjspx_005ftagPool_005fc_005fset_005fvar_005fvalue_005fnobody.reuse(_jspx_th_c_005fset_005f0);out.write("\r\n");out.write(" 现在时间是:\r\n"); out.write("");if (_jspx_meth_fmt_005fformatDate_005f0(_jspx_page_context)) return;out.write("\r\n");out.write(" <br>\r\n"); out.write(" 欢迎访问库存管理系统!<br>\r\n"); out.write("本系统专供《JSP网络编程从基础到实践作者和读者使用,版权所有,违者必究!\r\n");out.write(" </body>\r\n");out.write("</html>\r\n");} catch (Throwable t) {if (!(t instanceof SkipPageException)){out = _jspx_out;if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) {} if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);} } finally {_jspxFactory.releasePageContext(_jspx_page_context);} private boolean _jspx_meth_fmt_005fformatDate_005f0(PageContext _jspx_page_context) throws Throwable {PageContext pageContext = _jspx_page_context; JspWriter out = _jspx_page_context.getOut();// fmt:formatDate org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f0 =(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.wupin); _jspx_th_fmt_005fformatDate_005f0.setPageContext(_jspx_page_context); _jspx_th_fmt_005fformatDate_005f0.setParent(null); // /firstPage.jsp(10,5) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature =null_jspx_th_fmt_005fformatDate_005f0.setValue((java.util.Date) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${dateTest}", java.util.Date.wupin, (PageContext)_jspx_page_context, null, false)); // /firstPage.jsp(10,5) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null_jspx_th_fmt_005fformatDate_005f0.setPattern("G yyyy'年'MM'月'dd'日' HH:mm:ss z"); int_jspx_eval_fmt_005fformatDate_005f0=_jspx_th_fmt_005fformatDate_005f0.doStartTag(); if(_jspx_th_fmt_005fformatDate_005f0.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {_005fjspx_005ftagPool_005ffmt_005fformatDate_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f0);return true;} _005fjspx_005ftagPool_005ffmt_005fformatDate_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f0);return false;}} *********************************** public final wupin checkLogin_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory(); private static java.util.List _jspx_dependants; private javax.el.ExpressionFactory _el_expressionfactory; private org.apache.AnnotationProcessor _jsp_annotationprocessor; public Object getDependants() {return _jspx_dependants;} publicvoid_jspInit(){_el_expressionfactory = _jspxFactory.getJspApplicationContext(());}public void _jspDestroy() {} public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {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 {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("\r\n");out.write("\r\n"); //-------接收输入参数------------ int sysuser_role=0;ResultSet rs=null; try{sysuser_role=Integer.parseInt(request.getParameter("sysuser_role")); }catch(Exception e){} String sysuser_password=request.getParameter("sysuser_password"); String sysuser_name=request.getParameter("sysuser_name"); String certCode=request.getParameter("certCode"); //------查询数据库------
response.sendRedirect("\\index.jsp"); }else{response.sendRedirect("\\login.jsp"); }out.write('\r');out.write('\n'); } catch (Throwable t) { if (!(t instanceof SkipPageException)){out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) {} if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);}} finally { _jspxFactory.releasePageContext(_jspx_page_context);}}} *************************** public final wupin login_jsp extends org.apache.jasper.runtime.HttpJspBase 上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >> |