毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 课程设计 >> 正文

JSP库存管理系统 第10页

更新时间:2008-6-26:  来源:毕业论文

JSP库存管理系统 第10页

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(getServletConfig().getServletContext()).getExpressionFactory();_jsp_annotationprocessor=(org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.wupin.getName());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");

      out.write("<html>\r\n");out.write("<head>\r\n");

      out.write("<title>库存管理系统</title>\r\n");out.write("</head>\r\n");

      out.write("<body bgcolor=\"#DCDADA\">\r\n");

      out.write("<table border=\"0\" width=\"100%\" height=\"173\">\r\n");

      out.write("  <tr>\r\n");

      out.write("    <td height=\"40\">\r\n");

      out.write("     &nbsp; </td>\r\n");

      out.write("  </tr>\r\n");out.write("  <tr>\r\n");

      out.write("    <td width=\"100%\" height=\"34\">\r\n");

      out.write("      <p align=\"center\"><font size=\"6\"><b>库存管理系统<font size=\"4\">(Version 1.0)</font></b></font></td> \r\n");

      out.write("  </tr>\r\n");

      out.write("  <tr>\r\n");

      out.write("    <td width=\"100%\" height=\"21\">\r\n");

      out.write("      <p align=\"center\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  \r\n");

      out.write("――――供《JSP网络编程从基础到实践》读者学习使用,版权所有,违者必究!</td>\r\n");

      out.write("  </tr>\r\n");out.write("</table>\r\n");

      out.write("<tablealign=\"center\"border=\"0\">\r\n");     out.write("\t<tralign=\"center\"><td><fontcolor=\"red\"><html:errors/></font></td></tr>\r\n");out.write("    <tr align=\"center\"><td>系统登录</td></tr>\r\n");

out.write("<formaction=\"checkLogin.jsp\"method=\"post\"focus=\"sysuser_name\">\r\n");

      out.write("<tr><td>用户名:<input type=\"text\" name=\"sysuser_name\"/></td></tr>\r\n");

      out.write("    <tr><td>&nbsp;&nbsp;码:<input type=\"password\" name=\"sysuser_password\"/></td></tr>\r\n");

      out.write("    <tr><td>&nbsp;色:\r\n");

      out.write("    <select name=\"sysuser_role\">\r\n");

      out.write("          \t<option value=\"1\">系统管理员</option>\r\n");

      out.write("          \t<option value=\"2\">普通管理员</option>\r\n");

      out.write("    </select>\r\n");out.write("    </td></tr>\r\n");

      out.write("    <tr><td>验证码:<input type=\"text\" name=\"certCode\"/>\r\n");

      out.write("    \t\t<img src=\"makeCertPic.jsp\">\r\n");

      out.write("    </td></tr>\r\n");out.write("<tr align=\"left\"><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n");

      out.write("    <input type=\"submit\" value=\"确定\"/></td></tr>\r\n");

      out.write("    </form>\r\n");out.write("</table>\r\n");

      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)

          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 ptyonghuman_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;}

  public void _jspInit() {_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();

    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.wupin.getName());}

  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");

      out.write("<html>\r\n");

      out.write("<!--------接收输入参数---------->\r\n");

//-------接收wupin_idptyonghu_name参数------------int wupin_id=0;

       try{wupin_id=Integer.parseInt(request.getParameter("wupin_id"));}catch(Exception e){}

    String ptyonghu_name=request.getParameter("ptyonghu_name");

    if(ptyonghu_name!=null&&ptyonghu_name.equals("null")) ptyonghu_name=null;

    stringUtil stringCode=new stringUtil();

    ptyonghu_name=stringCode.codeToString(ptyonghu_name)

      out.write("\r\n");out.write("<!------系统交互javascript----->\r\n");

      out.write("<script language=\"JavaScript\">\r\n");

      out.write("<!--\r\n");out.write("function delete_confirm() {\r\n");

      out.write("//按删除链接时,弹出确认对话框\r\n");

      out.write("   if(confirm(\"确认要删除吗?\")){\r\n");

      out.write("  \t\treturn true;\r\n");out.write("\t}else return false;\t\r\n");

      out.write("}\r\n");out.write("-->\r\n");

      out.write("</script>\r\n");out.write("<body bgcolor=\"#DCDADA\">\r\n");

      out.write("<!---------导航菜单------------->\r\n");

      out.write("<table border=\"0\" width=\"100%\">\r\n");

      out.write("  <tr>\r\n");

      out.write("    <td width=\"100%\">\r\n");

      out.write("  <p align=\"left\">您当前所在位置:基本信息管理</p>\r\n");

      out.write("    </td>\r\n");

      out.write("  </tr>\r\n");

      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "navigator.txt", out, false);

      out.write("\r\n");out.write("</table>\r\n");

      out.write("<!---------数据输入------------->\r\n");

      out.write("<table border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#808080\" bordercolorlight=\"#808080\" bordercolordark=\"#808080\">\r\n");

      out.write("  <tr>\r\n");

      out.write("    <td width=\"100%\">\r\n");

      out.write("      <table border=\"0\" width=\"100%\">\r\n");

      out.write("        <tr>\r\n");

      out.write("  <td width=\"100%\" colspan=\"5\">输入查询条件:<br><hr></td>\r\n");

      out.write("        </tr>\r\n");

      out.write("        <form name=\"add_ptyonghu_form\" action=\"ptyonghuman.jsp\" method=\"post\" onsubmit=\"return check_data()\">\r\n");

      out.write("        <tr>\r\n");

      out.write("          <td width=\"24%\" align=\"right\"></td>\r\n");

      out.write("          <td width=\"19%\">\r\n");

      out.write("          ");

      commonTag wupintag=new commonTag();out.println(wupintag.getWupinTag(wupin_id))

      out.write("\r\n");out.write("          </td>\r\n");

      out.write(" <td width=\"11%\" align=\"right\">普通用户姓名:</td>\r\n");

      out.write("          <td width=\"21%\">\r\n");

      out.write(" <input type=\"text\" name=\"ptyonghu_name\" maxlength=\"20\" value=\"");

if(ptyonghu_name!=null) out.print(ptyonghu_name);

      out.write("\">\r\n");

      out.write("          </td>\r\n");

      out.write("  <td width=\"25%\"><input type=\"submit\" value=\"提交\"></td>\r\n");

      out.write("        </tr>\r\n");

      out.write("        </form>\r\n");

      out.write("      </table>\r\n");

      out.write("    </td>\r\n");

      out.write("  </tr>\r\n");

      out.write("</table><br>\r\n");

      out.write("<!---------数据输出------------->\r\n");

      out.write("<table border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0

        if (ptyonghu_select == null){ptyonghu_select = new ptyonghuman.ptyonghu_operation();

          _jspx_page_context.setAttribute("ptyonghu_select",ptyonghu_select, PageContext.PAGE_SCOPE);}}

      out.write('\r');out.write('\n');

//-----JavaBean查询出数据,并得到总记录条数------

       ResultSet rs=ptyonghu_select.ptyonghu_select_part(wupin_id,ptyonghu_name);

       rs.last();int rowCount=rs.getRow();

       rs.beforeFirst()out.write(' ');out.write('\r');out.write('\n');

      util.rsFenYe ptyonghu_rsFenYe = null;

      synchronized (_jspx_page_context) {

        ptyonghu_rsFenYe = (util.rsFenYe) _jspx_page_context.getAttribute("ptyonghu_rsFenYe", PageContext.PAGE_SCOPE);

        if (ptyonghu_rsFenYe == null){ptyonghu_rsFenYe = new util.rsFenYe();

          _jspx_page_context.setAttribute("ptyonghu_rsFenYe",ptyonghu_rsFenYe, PageContext.PAGE_SCOPE);}}

      out.write('\r');out.write('\n');   org.apache.jasper.runtime.JspRuntimeLibrary.handleSetProperty(_jspx_page_context.findAttribute("ptyonghu_rsFenYe"), "rs",rs);out.write("\r\n");

out.write("<!-------pageSize为每页记录条数--------->\r\n");    org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(_jspx_page_context.findAttribute("ptyonghu_rsFenYe"), "pageSize", "10", null, null, false);out.write("\r\n");

      out.write("  <tr>\r\n");out.write("    <td colspan=\"5\" align=\"center\">\r\n");

//-----从请求参数中得到当前页码------

       String currentPage=request.getParameter("currentPage");

       try{ptyonghu_rsFenYe.setCurrentPage(Integer.parseInt(currentPage));}catch(Exception e)

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  ... 下一页  >> 

JSP库存管理系统 第10页下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。