• 大小: 1.42MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-10
  • 语言: Java
  • 标签: 韩顺平  

资源简介

跟着韩顺平老师视频做的jsp图书商店代码,含有数据库文件文件

资源截图

代码片段和文件信息

package com.shop.controller;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;

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

import com.shop.domain.Userss;
import com.shop.service.BookService;
import com.shop.service.MyCart;
import com.shop.service.UserssService;

public class GoHallUI extends HttpServlet {


public void doGet(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {

response.setContentType(“text/html;charset=utf-8“);
PrintWriter out = response.getWriter();
request.setCharacterEncoding(“utf-8“);

//先判断该用户已经登录、如果登陆了的话,则直接跳转到购物大厅,可读性不好

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

     文件        529  2013-11-28 15:40  shopv2\.classpath

     文件        291  2013-11-30 10:55  shopv2\.mymetadata

     文件       1749  2013-11-30 10:55  shopv2\.project

     文件        500  2013-11-28 15:40  shopv2\.settings\.jsdtscope

     文件       1009  2013-11-30 10:55  shopv2\.settings\com.genuitec.eclipse.j2eedt.core.prefs

     文件        364  2013-11-28 15:40  shopv2\.settings\org.eclipse.jdt.core.prefs

     文件        452  2013-11-30 10:55  shopv2\.settings\org.eclipse.wst.common.component

     文件        252  2013-11-28 15:40  shopv2\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2013-11-28 15:40  shopv2\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2013-11-28 15:40  shopv2\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       2447  2013-12-01 00:36  shopv2\SQL Editor (1).sql

     文件       2682  2013-11-30 11:12  shopv2\src\com\shop\controller\GoHallUI.java

     文件       1278  2013-11-30 15:28  shopv2\src\com\shop\controller\GoMyOrderServlet.java

     文件       1174  2013-12-01 10:33  shopv2\src\com\shop\controller\GoShowMyCart.java

     文件       3206  2013-12-01 10:37  shopv2\src\com\shop\controller\ShoppingCLServlet.java

     文件       1767  2013-12-01 09:30  shopv2\src\com\shop\controller\SubmitOrderServlet.java

     文件       1088  2013-11-29 17:26  shopv2\src\com\shop\domain\Book.java

     文件        916  2013-11-29 00:22  shopv2\src\com\shop\domain\Userss.java

     文件       1632  2013-11-29 14:00  shopv2\src\com\shop\service\BookService.java

     文件       2012  2013-11-30 11:57  shopv2\src\com\shop\service\MyCart.java

     文件       2081  2013-11-30 23:57  shopv2\src\com\shop\service\OrderService.java

     文件        751  2013-11-29 00:45  shopv2\src\com\shop\service\UserssService.java

     文件       1131  2013-11-28 21:30  shopv2\src\com\shop\util\Mytools.java

     文件       4407  2013-11-28 21:30  shopv2\src\com\shop\util\SqlHellper.java

     文件        145  2013-11-06 06:25  shopv2\src\db.properties

     文件         32  2013-11-28 22:18  shopv2\WebRoot\css\comm.css

     文件        856  2013-11-29 00:47  shopv2\WebRoot\index.jsp

     文件         36  2013-11-28 15:40  shopv2\WebRoot\meta-INF\MANIFEST.MF

     文件       2775  2013-11-30 11:12  shopv2\WebRoot\WEB-INF\classes\com\shop\controller\GoHallUI.class

     文件       2017  2013-11-30 15:28  shopv2\WebRoot\WEB-INF\classes\com\shop\controller\GoMyOrderServlet.class

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

评论

共有 条评论