资源简介
基于S2SH的图书管理系统,eclipse+MySQL,可用于课程设计。
代码片段和文件信息
package com.sixgod.librarymanage.action;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import javax.servlet.Servlet;
import javax.servlet.http.HttpServletRequest;
import org.apache.catalina.connector.Request;
import org.apache.struts2.ServletActionContext;
import org.apache.struts2.interceptor.SessionAware;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import com.opensymphony.xwork2.ActionSupport;
import com.sixgod.librarymanage.dao.BookDAO;
import com.sixgod.librarymanage.model.Book;
import com.sixgod.librarymanage.model.BookClass;
import com.sixgod.librarymanage.model.PageBean;
import com.sixgod.librarymanage.model.User;
import com.sixgod.librarymanage.service.BookClassService;
import com.sixgod.librarymanage.service.BookService;
import com.sixgod.librarymanage.service.UserService;
@Component
@Scope(“prototype“)
public class BookAction extends ActionSupport implements SessionAware {
private List books;
private BookService bookService;
private UserService userService;
private BookClassService bookClassService;
private List bookClasses;
private BookClass bookClass;
private Book book;
private String idAll;
private int updateid;
private String bookname;
private boolean b;
private int userid;
private int page = 1;
private PageBean pageBean;
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public PageBean getPageBean() {
return pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public int getUserid() {
return userid;
}
public void setUserid(int userid) {
this.userid = userid;
}
public String getBookname() {
return bookname;
}
public void setBookname(String bookname) {
this.bookname = bookname;
}
public int getUpdateid() {
return updateid;
}
public void setUpdateid(int updateid) {
this.updateid = updateid;
}
public String getIdAll() {
return idAll;
}
public void setIdAll(String idAll) {
this.idAll = idAll;
}
public Book getBook() {
return book;
}
public void setBook(Book book) {
this.book = book;
}
public BookClass getBookClass() {
return bookClass;
}
public void setBookClass(BookClass bookClass) {
this.bookClass = bookClass;
}
public BookClassService getBookClassService() {
return bookClassService;
}
@Resource
public void setBookClassService(BookClassService bookClassService) {
this.bookClassService = bookClassService;
}
private Mapject> session;
public BookService getBookService() {
return bookService;
}
@Resource
public void setBookService(BookService bookService) {
this.bookService = bookService;
}
public List getBooks() {
return books;
}
@Resource
public void setBooks(List books) {
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 743 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.classpath
文件 1050 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.project
文件 503 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.settings\.jsdtscope
文件 364 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.settings\org.eclipse.jdt.core.prefs
文件 503 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.settings\org.eclipse.wst.common.component
文件 305 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.settings\org.eclipse.wst.common.project.facet.core.xm
文件 49 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 3007 2018-06-18 21:39 LibraryManage_001\LibraryManage_001\build\classes\applicationContext.xm
文件 8635 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\action\BookAction.class
文件 1562 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\action\BookClassAction.class
文件 3468 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\action\UploadAction.class
文件 6796 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\action\UserAction.class
文件 304 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\aop\UserAOP.class
文件 452 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\dao\BookClassDAO.class
文件 1136 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\dao\BookDAO.class
文件 1999 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\dao\imp\BookClassDAOImp.class
文件 7763 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\dao\imp\BookDAOImp.class
文件 6686 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\dao\imp\UserDAOImp.class
文件 835 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\dao\UserDAO.class
文件 2027 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\model\Book.class
文件 1658 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\model\BookClass.class
文件 1386 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\model\Fileupload.class
文件 2347 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\model\PageBean.class
文件 2774 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\model\User.class
文件 1271 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\service\BookClassService.class
文件 3648 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\service\BookService.class
文件 3326 2018-06-20 19:34 LibraryManage_001\LibraryManage_001\build\classes\com\sixgod\librarymanage\service\UserService.class
文件 1549 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\build\classes\log4j.properties
文件 2525 2017-06-13 20:36 LibraryManage_001\LibraryManage_001\build\classes\struts.xm
............此处省略206个文件信息
- 上一篇:基于ssm框架的权限管理系统
- 下一篇:嵌入式系统开发圣经
相关资源
- ssh三大框架下的登录和注册带页面
- spring+springmvc+mybatis搭建的一个华仪酒
- eclipse(springmvc+spring+hibernate)案例附
- mysql for linux版本, MySQL-server-communit
- 网上商城源码+数据库SQL文件
- 就业管理系统
- mysql5.7 1z0-888考试真题
- 新版 MySQL DBA 高级视频 基于MySQL 5.7
- mysql5.1.7-rpm for linux
- mysql-5.6.19.tar.gz
- mysql-5.6.23.tar.gz
- 毕业设计 SSH2 管理系统 附有论文
- mysql-5.5.57-win32
- mysql-5.0.16-win32.zip
- 基于SSH的新闻发布系统
- MySQL官网测试数据上百万条数据sql文件
- mysql-5.5.19-win32.mis
- mysql安装文件 mysql-5.5.15-win32.msi
- 基于JFinal+Hadoop+mysql的云盘管理系统
- 基于SpringMVC的学生成绩管理
- SSH企业网站源码
- ssh整理的一个小的新闻后台管理
- SpringMVC4+Spring4+Hibernate4框架整合
- 将mysql数据库结构同步到SQLITE的利器
- MONyog-8.6.0-0_X32_X64_RPM
- MySQL教程 pdf版
- mysql-connector-odbc-5.2.6-linux-glibc2.5-x86-
- 基于SSH的车辆管理系统
- 铁路售票管理系统+数据库
- 北大青鸟房屋租赁系统-Mysql版-struts
评论
共有 条评论