• 大小: 14.51MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-30
  • 语言: Java
  • 标签: JAVA  

资源简介

我这个购物车程序可以直接在NetBeans上运行,不用修改了,当然你想增添别的功能也可以,在网上看的其他的总是要改来改去还不一定改对,这个很方便,可以用来做学期课程设计。

资源截图

代码片段和文件信息

package org.apache.jsp;

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

public final class login_jsp extends org.apache.jasper.runtime.HttpJspbase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.Vector _jspx_dependants;

  private org.glassfish.jsp.api.ResourceInjector _jspx_resourceInjector;

  public object getDependants() {
    return _jspx_dependants;
  }

  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;
      _jspx_resourceInjector = (org.glassfish.jsp.api.ResourceInjector) application.getAttribute(“com.sun.appserv.jsp.resource.injector“);

      out.write(‘\r‘);
      out.write(‘\n‘);
 session.invalidate();
      out.write(“\r\n“);
      out.write(“\r\n“);
      out.write(“\r\n“);
      out.write(“tle>Untitled Documenttle>\r\n“);
      out.write(“ta http-equiv=\“Content-Type\“ content=\“text/html; charset=gb2312\“>\r\n“);
      out.write(“\r\n“);
      out.write(“ylesheet>\r\n“);
      out.write(“\r\n“);
      out.write(“\r\n“);
      out.write(“
\r\n“);
      out.write(“    请输入一个用户名后点击登录\r\n“);
      out.write(“    
只有用户名为customer才能登录\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(“    你的密码:\r\n“);
      out.write(“  \r\n“);
      out.write(“  \r\n“);
      out.write(“    \r\n

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

     文件       3495  2011-11-01 21:42  ShopCar\build.xml

     文件       4621  2011-11-02 13:52  ShopCar\build\generated\classes\org\apache\jsp\login_jsp.class

     文件       9005  2011-11-01 22:14  ShopCar\build\generated\classes\org\apache\jsp\order_jsp.class

     文件         81  2011-11-02 13:52  ShopCar\build\generated\src\org\apache\jsp\login_jsp.class.smap

     文件       3700  2011-11-02 13:52  ShopCar\build\generated\src\org\apache\jsp\login_jsp.java

     文件        426  2011-11-01 22:14  ShopCar\build\generated\src\org\apache\jsp\order_jsp.class.smap

     文件       8027  2011-11-01 22:14  ShopCar\build\generated\src\org\apache\jsp\order_jsp.java

     文件       1852  2011-11-01 22:34  ShopCar\build\web\cart.jsp

     文件        361  2011-11-01 22:01  ShopCar\build\web\checklogin.jsp

     文件        702  2011-11-01 22:01  ShopCar\build\web\dynamic_time.jsp

     文件          0  2011-11-02 17:08  ShopCar\build\web\gfv3ee6.dpf

     文件        295  2011-11-01 22:01  ShopCar\build\web\haoma.jsp

     文件        403  2011-11-01 22:01  ShopCar\build\web\header.jsp

     文件        935  2011-11-02 13:52  ShopCar\build\web\login.jsp

     文件        156  2011-11-01 22:01  ShopCar\build\web\logout.jsp

     文件       2012  2011-11-01 22:34  ShopCar\build\web\order.jsp

     文件       1336  2011-11-01 22:30  ShopCar\build\web\shopping.jsp

     文件        159  2011-11-01 22:01  ShopCar\build\web\tail.jsp

     文件       1190  2011-11-01 22:01  ShopCar\build\web\com\jspdev\ch3\Myapplet.class

     文件         25  2011-11-01 22:01  ShopCar\build\web\meta-INF\MANIFEST.MF

     文件        274  2011-11-01 22:01  ShopCar\build\web\WEB-INF\beans.xml

     文件        373  2011-11-01 22:01  ShopCar\build\web\WEB-INF\web.xml

     文件          0  2011-11-01 22:01  ShopCar\build\web\WEB-INF\classes\.netbeans_automatic_build

     文件          0  2011-11-01 22:01  ShopCar\build\web\WEB-INF\classes\.netbeans_update_resources

     文件        274  2011-11-01 22:01  ShopCar\build\web\WEB-INF\classes\beans.xml

     文件       1128  2011-11-01 22:02  ShopCar\build\web\WEB-INF\classes\com\jspdev\ch6\Cart.class

     文件       1018  2011-11-01 22:02  ShopCar\build\web\WEB-INF\classes\com\jspdev\ch6\Item.class

     文件       1570  2011-11-01 22:02  ShopCar\build\web\WEB-INF\classes\com\jspdev\ch6\Products.class

     文件      17154  2011-11-01 22:01  ShopCar\dist\Shopcar.war

     文件        422  2011-11-01 21:43  ShopCar\lib\nblibraries.properties

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

评论

共有 条评论