资源简介

jsp,java 购物商场完整可运行,数据库完整,如有问题可联系博主

资源截图

代码片段和文件信息

package org.suNing.controller;

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

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

import org.suNing.dao.CommodityBroadDao;
import org.suNing.dao.impl.CommodityBroadDaoImpl;
import org.suNing.entity.CommodityBroad;

@WebServlet(urlPatterns=“/getCommodityBroad.do“)
/**
 * 执行查询所有商品大类的servlet  可以被管理页面和商品页面同时调用
 * @author ASUS
 *
 */
public class SelectAllCommodityBroadServlet extends HttpServlet {


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


CommodityBroadDao cbd = new CommodityBroadDaoImpl();
List list = cbd.getAllCommodityBroad();
if(list != null){
request.setAttribute(“list“ list);
}


}


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


}

}

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

     文件       1093  2016-11-14 14:25  suNingShoppingMall\.classpath

     文件       1068  2016-11-14 14:26  suNingShoppingMall\.project

     文件        564  2016-11-14 14:26  suNingShoppingMall\.settings\.jsdtscope

     文件        107  2019-04-08 23:15  suNingShoppingMall\.settings\org.eclipse.core.resources.prefs

     文件        364  2016-11-14 14:25  suNingShoppingMall\.settings\org.eclipse.jdt.core.prefs

     文件        513  2016-11-14 14:25  suNingShoppingMall\.settings\org.eclipse.wst.common.component

     文件        414  2016-11-14 14:26  suNingShoppingMall\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2016-11-14 14:26  suNingShoppingMall\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2016-11-14 14:26  suNingShoppingMall\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       1287  2016-11-27 15:37  suNingShoppingMall\src\meta-INF\page.tld

     文件       1116  2016-11-24 16:56  suNingShoppingMall\src\meta-INF\showCommodity.tld

     文件       5933  2016-11-24 18:30  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\CommodityAddAndEditServlet.java

     文件       3587  2016-11-24 14:01  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\CommodityBroadAddandEdit.java

     文件       1411  2016-11-24 14:03  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\CommodityBroadDeleteServlet.java

     文件       1210  2016-11-22 10:56  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\CommodityDeleteServlet.java

     文件       1402  2016-11-22 12:02  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\CommodityInfoDeleteServlet.java

     文件       1998  2016-11-20 09:28  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\CommodityLittleTypeAddandEditServlet.java

     文件       1334  2016-11-19 23:55  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\CommodityLittleTypeDeleteServlet.java

     文件       1072  2016-11-24 13:57  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\EntranceCommodityBroadManagePageServelt.java

     文件       1082  2016-11-24 13:43  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\EntranceHomeManagePageServlet.java

     文件       2271  2016-11-24 13:46  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\HomePageAddandEdit.java

     文件       1171  2016-11-29 23:00  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\HomePageDelete.java

     文件       1586  2016-12-09 10:10  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\ManagerLogin.java

     文件       3567  2016-11-29 21:48  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\UserInfoAddandEdit.java

     文件       1464  2016-11-30 09:51  suNingShoppingMall\src\org\suNing\controller\ManagerServlet\UserInfoDeleteAndUser.java

     文件       1179  2016-11-24 14:25  suNingShoppingMall\src\org\suNing\controller\SelectAllCommodityBroadServlet.java

     文件       2580  2016-11-20 14:17  suNingShoppingMall\src\org\suNing\controller\SelectAllCommodityLittleTypeServlet.java

     文件       3997  2016-11-27 12:54  suNingShoppingMall\src\org\suNing\controller\SelectAllCommodityServlet.java

     文件       1211  2016-11-24 13:33  suNingShoppingMall\src\org\suNing\controller\SelectAllHomePageImgServlet.java

     文件       1992  2016-11-29 22:19  suNingShoppingMall\src\org\suNing\controller\SelectAllUserInfoServlet.java

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

评论

共有 条评论