资源简介

北大青鸟 session 购物车 java 作业

资源截图

代码片段和文件信息

package Biz;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import Entity.Item;

public class shopping extends HttpServlet {

public void doGet(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {
this.doPost(request response);
}

public void doPost(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {
request.setCharacterEncoding(“gb2312“);
HttpSession session = request.getS

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

     文件        410  2009-06-22 19:35  Shop\.classpath

     文件        285  2009-06-22 19:33  Shop\.mymetadata

     文件       1222  2009-06-22 19:33  Shop\.project

     文件       1644  2009-06-23 18:18  Shop\src\Biz\shopping.java

     文件       1716  2009-06-22 19:34  Shop\src\Dao\baseDao.java

     文件        959  2009-06-22 19:55  Shop\src\Dao\ItemDao.java

     文件        559  2009-06-22 19:06  Shop\src\Entity\Item.java

     文件       2009  2009-06-23 18:16  Shop\WebRoot\car.jsp

     文件       2073  2009-06-23 18:16  Shop\WebRoot\index.jsp

     文件         39  2009-06-22 18:51  Shop\WebRoot\meta-INF\MANIFEST.MF

     文件       2324  2009-06-23 18:18  Shop\WebRoot\WEB-INF\classes\Biz\shopping.class

     文件       2309  2009-06-23 09:31  Shop\WebRoot\WEB-INF\classes\Dao\baseDao.class

     文件       1963  2009-06-23 09:31  Shop\WebRoot\WEB-INF\classes\Dao\ItemDao.class

     文件       1058  2009-06-23 09:31  Shop\WebRoot\WEB-INF\classes\Entity\Item.class

     文件     253122  2009-06-22 19:35  Shop\WebRoot\WEB-INF\lib\sqljdbc.jar

     文件        781  2009-06-23 18:16  Shop\WebRoot\WEB-INF\web.xml

     目录          0  2009-06-23 09:31  Shop\WebRoot\WEB-INF\classes\Biz

     目录          0  2009-06-23 09:31  Shop\WebRoot\WEB-INF\classes\Dao

     目录          0  2009-06-23 09:31  Shop\WebRoot\WEB-INF\classes\Entity

     目录          0  2009-06-23 09:31  Shop\WebRoot\WEB-INF\classes

     目录          0  2009-06-22 19:35  Shop\WebRoot\WEB-INF\lib

     目录          0  2009-06-22 20:08  Shop\src\Biz

     目录          0  2009-06-22 19:33  Shop\src\Dao

     目录          0  2009-06-22 19:33  Shop\src\Entity

     目录          0  2009-06-22 19:33  Shop\WebRoot\meta-INF

     目录          0  2009-06-22 19:33  Shop\WebRoot\WEB-INF

     目录          0  2009-06-22 19:33  Shop\.myeclipse

     目录          0  2009-06-22 19:33  Shop\src

     目录          0  2009-06-22 19:33  Shop\WebRoot

     目录          0  2009-06-22 19:33  Shop

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

评论

共有 条评论