• 大小: 803KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-06
  • 语言: 其他
  • 标签: 网上书店  

资源简介

此程序是用web编写的网上购书系统。实现了前台和后台的多种功能

资源截图

代码片段和文件信息

package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class addproduct_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.class.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(“\n“);
      out.write(“                                                      \n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“\n“);
      out.write(“    \n“);
      out.write(“        ta http-equiv=\“Content-Type\“ content=\“text/html; charset=gb2312\“>\n“);
      out.write(“        tle>添加商品tle>\n“);
      out.write(“    \n“);
      out.write(“    \n“);
      out.write(“        \n“);
      out.write(“            商品编号:
\n“);
      out.write(“            商品名称:
\n“);
      out.write(“            商品价格:
\n“);
      out.write(“            商品数量:
\n“);
      out.write(“            商品说明:

\n“);
      out.write(“                \n“);
      out.write(“                    \n“);
      

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1180  2008-12-30 15:03  shop\nbproject\private\private.properties

     文件       1401  2008-12-30 22:56  shop\nbproject\private\private.xml

     文件        695  2008-12-30 21:24  shop\nbproject\project.xml

     文件       1605  2008-12-30 21:24  shop\nbproject\ant-deploy.xml

     文件       2005  2008-12-23 20:21  shop\nbproject\project.properties

     文件      43682  2008-12-30 21:24  shop\nbproject\build-impl.xml

     文件        455  2008-12-30 21:24  shop\nbproject\genfiles.properties

     文件       1252  2008-12-24 12:50  shop\src\java\org\netbeans\Web\ProductBean.java

     文件       1031  2008-12-24 12:52  shop\src\java\org\netbeans\Web\CartProduct.java

     文件       2761  2008-12-24 13:02  shop\src\java\org\netbeans\Web\CartBean.java

     文件       3624  2008-12-30 20:56  shop\src\java\org\netbeans\Web\DatabaseBean.java

     文件       6085  2008-12-24 12:50  shop\src\java\org\netbeans\Web\CustomerServlet.java

     文件       5812  2008-12-30 22:03  shop\src\java\org\netbeans\Web\AdminDatabaseBean.java

     文件       6524  2008-12-30 22:04  shop\src\java\org\netbeans\Web\AdminServlet.java

     文件       5001  2008-12-30 22:02  shop\src\java\org\netbeans\Web\UserRegist.java

     文件       1664  2008-12-29 17:59  shop\src\java\org\netbeans\Web\UserInfo.java

     文件        667  2008-12-29 17:12  shop\src\java\org\netbeans\Web\ddd.java

     文件       2735  2008-12-30 11:03  shop\src\java\org\netbeans\Web\lyb.java

     文件       1939  2008-12-28 10:13  shop\src\java\org\netbeans\Web\userServlet.java

     文件         23  2008-12-23 20:21  shop\src\conf\MANIFEST.MF

     文件       1086  2008-12-24 19:54  shop\web\WEB-INF\web.xml

     文件         63  2008-12-23 20:21  shop\web\meta-INF\context.xml

     文件       8006  2008-12-30 22:43  shop\web\index.jsp

     文件       4908  2008-12-25 11:41  shop\web\searchview.jsp

     文件        988  2008-12-30 22:50  shop\web\userlogin.jsp

     文件       2145  2008-12-24 12:49  shop\web\cartview.jsp

     文件       2659  2008-12-24 12:49  shop\web\checkout.jsp

     文件        294  2008-12-24 12:48  shop\web\welcome.jsp

     文件       4256  2008-12-29 18:22  shop\web\showadddelete.jsp

     文件       1720  2008-12-30 21:35  shop\web\login.jsp

............此处省略175个文件信息

评论

共有 条评论