资源简介
网上商城系统,包含前台用户与后台管理员两个子系统,购物车,订单,个人中心,浏览商品,加购,下单,审核发货,热销统计等等一系列功能完整。
代码片段和文件信息
package com.action;
import java.io.File;
import java.util.List;
import javax.annotation.Resource;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;
import com.entity.Admins;
import com.entity.Goods;
import com.entity.Items;
import com.entity.Orders;
import com.entity.Tops;
import com.entity.Types;
import com.entity.Users;
import com.service.AdminService;
import com.service.GoodService;
import com.service.OrderService;
import com.service.TopService;
import com.service.TypeService;
import com.service.UserService;
import com.util.PageUtil;
import com.util.SafeUtil;
import com.util.UploadUtil;
@Namespace(“/admin“)
@Results({
@Result(name = “login“ location = “/admin/login.jsp“)
@Result(name = “index“ location = “/admin/index.jsp“)
@Result(name = “reindex“ type = “redirect“ location = “index.action“)
@Result(name = “typeList“ location = “/admin/type_list.jsp“)
@Result(name = “typeEdit“ location = “/admin/type_edit.jsp“)
@Result(name = “reTypeList“ type = “redirect“ location = “typeList.action?page=${page}&flag=${flag}“)
@Result(name = “goodList“ location = “/admin/good_list.jsp“)
@Result(name = “goodAdd“ location = “/admin/good_add.jsp“)
@Result(name = “goodEdit“ location = “/admin/good_edit.jsp“)
@Result(name = “reGoodList“ type = “redirect“ location = “goodList.action?page=${page}&flag=${flag}“)
@Result(name = “userList“ location = “/admin/user_list.jsp“)
@Result(name = “userAdd“ location = “/admin/user_add.jsp“)
@Result(name = “userReset“ location = “/admin/user_reset.jsp“)
@Result(name = “userEdit“ location = “/admin/user_edit.jsp“)
@Result(name = “reUserList“ type = “redirect“ location = “userList.action?page=${page}&flag=${flag}“)
@Result(name = “orderList“ location = “/admin/order_list.jsp“)
@Result(name = “reOrderList“ type = “redirect“ location = “orderList.action?status=${status}&page=${page}&flag=${flag}“)
@Result(name = “itemList“ location = “/admin/item_list.jsp“)
@Result(name = “adminList“ location = “/admin/admin_list.jsp“)
@Result(name = “adminAdd“ location = “/admin/admin_add.jsp“)
@Result(name = “adminReset“ location = “/admin/admin_reset.jsp“)
@Result(name = “adminEdit“ location = “/admin/admin_edit.jsp“)
@Result(name = “reAdminList“ type = “redirect“ location = “adminList.action?page=${page}&flag=${flag}“) })
@SuppressWarnings(“serial“)
public class AdminAction extends baseAction {
private static final int rows = 10;
private Users user;
private Goods good;
private Tops tops;
private Types type;
private Admins admin;
private byte status;
private int id;
private int flag;
private File cover; // 获取上传文件
private String coverFileName; // 获取上传文件名称
private File image1; // 获取上传文件
private String image1FileName; // 获取上传文件名称
private File image2;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-12-20 21:55 ssh_cake\
文件 841 2017-12-16 09:18 ssh_cake\.classpath
文件 1041 2017-12-16 09:18 ssh_cake\.project
目录 0 2017-12-20 21:55 ssh_cake\.settings\
文件 503 2017-12-16 09:18 ssh_cake\.settings\.jsdtscope
文件 364 2017-12-16 09:18 ssh_cake\.settings\org.eclipse.jdt.core.prefs
文件 476 2017-12-16 09:18 ssh_cake\.settings\org.eclipse.wst.common.component
文件 345 2017-12-16 09:18 ssh_cake\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2017-12-16 09:18 ssh_cake\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2017-12-16 09:18 ssh_cake\.settings\org.eclipse.wst.jsdt.ui.superType.name
目录 0 2017-12-20 21:55 ssh_cake\WebContent\
目录 0 2017-12-20 21:55 ssh_cake\WebContent\me
文件 39 2017-12-20 21:54 ssh_cake\WebContent\me
目录 0 2017-12-20 21:55 ssh_cake\WebContent\WEB-INF\
目录 0 2017-12-20 21:55 ssh_cake\WebContent\WEB-INF\lib\
文件 445288 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\antlr-2.7.7.jar
文件 53468 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\asm-5.1.jar
文件 47195 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\asm-commons-5.1.jar
文件 29130 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\asm-tree-5.1.jar
文件 64110 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\classmate-1.3.0.jar
文件 70282 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\commons-fileupload-1.3.2.jar
文件 185140 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\commons-io-2.4.jar
文件 434678 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\commons-lang3-3.4.jar
文件 61829 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\commons-logging-1.2.jar
文件 313898 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\dom4j-1.6.1.jar
文件 1350624 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\freemarker-2.3.23.jar
文件 75288 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\hibernate-commons-annotations-5.0.1.Final.jar
文件 6614635 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\hibernate-core-5.2.9.Final.jar
文件 113371 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\hibernate-jpa-2.1-api-1.0.0.Final.jar
文件 186741 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\jandex-2.0.3.Final.jar
文件 750581 2017-12-16 09:19 ssh_cake\WebContent\WEB-INF\lib\javassist-3.20.0-GA.jar
............此处省略213个文件信息
相关资源
- chaoshimavcen.rar
- 公司员工考勤管理系统
- 报刊订阅系统(需联网).rar
- Swing可视化插件Eclipse
- 家校通系统源码强大保证能用带数据
- 数据库系统实现第二版中文高清版
- .net经典会员管理项目完整源码(包含
- 算法第四版高清版谢云路译+答案
- 数据库系统概念6E.zip
- 火车订票系统数据库课程设计
- 最新18000多个动物数据大全
- 网页制作作业大一学生作品
- CRM客户管理系统
- JIRA帮助文档
- 人脸性别识别数据库
- VB6.0版机房管理系统源码(附数据库)
- IO流读写excel文档,并写入数据库
- [数据库系统基础教程].美Jeffrey.D.Ull
- 报价管理系统源码
- 数据库原理与应用何玉洁版.zipppt
- 易买网带数据库源码
- 豪车系统学生课程项目
- 高并发常见面试题(深入底层).doc
- 《精通Spring 4.x 企业应用开发实战》高
- 学生信息系统springMVC+Maven+Mongodb.zip
- 购物商城App+客户端+服务端+数据库
- Xshell4.exe
- swagger-word文档生成程序.rar
- SSH网上商城 Struts+Hibernate+Spring
- 一个关于健康的小型网站前后端都有
评论
共有 条评论