• 大小: 100KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-19
  • 语言: 其他
  • 标签: MVC  

资源简介

基于MVC的网上书店 实现查询、购买和管理功能

资源截图

代码片段和文件信息

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(“        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“);
      out.write(“            查看已有商品\n“);
      out.write(“

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

     文件        682  2009-03-12 08:17  Shop\nbproject\project.xml

     文件       1605  2009-03-12 12:56  Shop\nbproject\ant-deploy.xml

     文件       1345  2009-03-12 12:56  Shop\nbproject\private\private.properties

     文件       2062  2009-03-12 12:56  Shop\nbproject\project.properties

     文件      43776  2009-03-12 12:56  Shop\nbproject\build-impl.xml

     文件        455  2009-03-12 12:56  Shop\nbproject\genfiles.properties

     文件       1466  2006-12-08 11:32  Shop\src\java\org\netbeans\Web\ProductBean.java

     文件       4511  2006-12-08 11:32  Shop\src\java\org\netbeans\Web\AdminDatabaseBean.java

     文件       4889  2006-12-08 11:32  Shop\src\java\org\netbeans\Web\AdminServlet.java

     文件       2308  2006-12-08 11:32  Shop\src\java\org\netbeans\Web\CartBean.java

     文件       1193  2006-12-08 11:32  Shop\src\java\org\netbeans\Web\CartProduct.java

     文件       5430  2006-12-08 11:32  Shop\src\java\org\netbeans\Web\CustomerServlet.java

     文件       3144  2006-12-08 11:32  Shop\src\java\org\netbeans\Web\DatabaseBean.java

     文件         23  2009-02-16 15:56  Shop\src\conf\MANIFEST.MF

     文件       1078  2006-12-08 11:32  Shop\web\WEB-INF\web.xml

     文件         63  2006-12-08 11:32  Shop\web\meta-INF\context.xml

     文件       1455  2006-12-08 11:32  Shop\web\addproduct.jsp

     文件       1953  2006-12-08 11:32  Shop\web\cartview.jsp

     文件       2511  2006-12-08 11:32  Shop\web\checkout.jsp

     文件       1594  2006-12-08 11:32  Shop\web\login.jsp

     文件       4279  2006-12-08 11:32  Shop\web\searchview.jsp

     文件       3560  2006-12-08 11:32  Shop\web\showadddelete.jsp

     文件        165  2006-12-08 11:32  Shop\web\welcome.jsp

     文件       3489  2009-03-12 12:56  Shop\build.xml

     文件     200704  2009-03-12 14:04  Shop\shop.mdb

     文件       5003  2009-02-16 16:20  Shop\build\web\WEB-INF\classes\org\netbeans\web\AdminDatabaseBean.class

     文件       4121  2009-02-16 16:20  Shop\build\web\WEB-INF\classes\org\netbeans\web\AdminServlet.class

     文件       2368  2009-02-16 16:20  Shop\build\web\WEB-INF\classes\org\netbeans\web\CartBean.class

     文件       1213  2009-02-16 16:20  Shop\build\web\WEB-INF\classes\org\netbeans\web\CartProduct.class

     文件       4406  2009-02-16 16:20  Shop\build\web\WEB-INF\classes\org\netbeans\web\CustomerServlet.class

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

评论

共有 条评论