• 大小: 67KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-17
  • 语言: Java
  • 标签: S2SHJAVA  

资源简介

这是我的一门课程的课程设计,用S2SH框架做的,自己做的图书馆管理系统,能力有限做的很简单,但我想对才初学者还是有点参考价值。这个系统的界面不好看,时间太紧了,我没花时间去做界面。大家可以自己在去扩展下。希望大家编程越来越牛..... 注:由于我只能上传20M的资源,可这系统的架包就很大,我分三个部分上传,大家可以自己去下。麻烦之处,还请原谅。

资源截图

代码片段和文件信息

package org.yuqili.action;

import java.util.Iterator;
import java.util.List;

import org.yuqili.bean.LBook;
import org.yuqili.dao.LBookDAO;

import com.opensymphony.xwork2.ActionSupport;

public class addBookAction extends ActionSupport {

private String bookname;
private String author;
private String bookconcern;
private String publishDate;
private String tags;
private String bookscategory;
private String bookplace;
// private String isborrowed;
private LBookDAO bookDAO;
private LBook lbook;

public String getBookname() {
return bookname;
}

public void setBookname(String bookname) {
this.bookname = bookname;
}

public String getAuthor() {
return author;
}

public void setAuthor(String author) {
this.author = author;
}

public String getBookconcern() {
return bookconcern;
}

public void setBookconcern(String bookconcern) {
this.bookconcern = bookconcern;
}

public String getPublishDate() {
return publishDate;
}

public void setPublishDate(String publishDate) {
this.publishDate = publishDate;
}

public String getTags() {
return tags;
}

public void setTags(String tags) {
this.tags = tags;
}

public String getBookscategory() {
return bookscategory;
}

public void setBookscategory(String bookscategory) {
this.bookscategory = bookscategory;
}

public String getBookplace() {
return bookplace;
}

public void setBookplace(String bookplace) {
this.bookplace = bookplace;
}

public LBookDAO getBookDAO() {
return bookDAO;
}

public void setBookDAO(LBookDAO bookDAO) {
this.bookDAO = bookDAO;
}


@Override
public String execute() throws Exception {

// lbook.add(new LBook(booknameauthorbookconcern publishDate tagsbookscategory bookplace));
lbook = new LBook();
lbook.setBookname(bookname);
lbook.setAuthor(author);
lbook.setBookconcern(bookconcern);
lbook.setPublishDate(publishDate);
lbook.setTags(tags);
lbook.setBookscategory(bookscategory);
lbook.setBookplace(bookplace);
lbook.setIsborrowed(“02“);
bookDAO.saveBook(lbook);
return SUCCESS;
}

public LBook getLbook() {
return lbook;
}

public void setLbook(LBook lbook) {
this.lbook = lbook;
}

// public String getIsborrowed() {
// return isborrowed;
// }
//
// public void setIsborrowed(String isborrowed) {
// this.isborrowed = isborrowed;
// }

}

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

     文件       6047  2009-05-31 22:06  LibraryManagementSystem\.classpath

     文件        468  2009-05-20 16:56  LibraryManagementSystem\.myhibernatedata

     文件        342  2009-06-07 10:28  LibraryManagementSystem\.mymetadata

     文件       1651  2009-05-20 17:02  LibraryManagementSystem\.project

     文件        217  2009-05-20 16:58  LibraryManagementSystem\.settings\org.springframework.ide.eclipse.core.prefs

     文件        479  2009-05-20 16:58  LibraryManagementSystem\.springBeans

     文件       1010  2009-05-23 16:31  LibraryManagementSystem\src\hibernate.cfg.xml

     文件       2459  2009-05-29 20:49  LibraryManagementSystem\src\org\yuqili\action\addBookAction.java

     文件       2632  2009-05-31 21:20  LibraryManagementSystem\src\org\yuqili\action\borrowBookAction.java

     文件       1305  2009-06-07 10:55  LibraryManagementSystem\src\org\yuqili\action\deleteBookAction.java

     文件       2633  2009-05-31 18:55  LibraryManagementSystem\src\org\yuqili\action\editBookAction.java

     文件       1070  2009-05-28 18:26  LibraryManagementSystem\src\org\yuqili\action\findBookAction.java

     文件       1006  2009-05-28 15:27  LibraryManagementSystem\src\org\yuqili\action\findByNameAction.java

     文件       1007  2009-05-31 18:13  LibraryManagementSystem\src\org\yuqili\action\lFindByNameAction.java

     文件       2647  2009-05-30 19:44  LibraryManagementSystem\src\org\yuqili\action\loginValidationAction.java

     文件       1389  2009-05-31 21:31  LibraryManagementSystem\src\org\yuqili\action\returnBookAction.java

     文件        689  2009-05-28 14:25  LibraryManagementSystem\src\org\yuqili\bean\LBook.hbm.xml

     文件       2224  2009-05-28 14:26  LibraryManagementSystem\src\org\yuqili\bean\LBook.java

     文件       1477  2009-05-28 18:17  LibraryManagementSystem\src\org\yuqili\bean\SBook.hbm.xml

     文件       2251  2009-05-28 14:25  LibraryManagementSystem\src\org\yuqili\bean\SBook.java

     文件       1124  2009-05-24 13:59  LibraryManagementSystem\src\org\yuqili\bean\Student.hbm.xml

     文件       1312  2009-05-23 16:30  LibraryManagementSystem\src\org\yuqili\bean\Student.java

     文件       2617  2009-05-31 21:11  LibraryManagementSystem\src\org\yuqili\dao\impl\LBookDAOImpl.java

     文件       1952  2009-05-31 21:29  LibraryManagementSystem\src\org\yuqili\dao\impl\SBookDAOImpl.java

     文件       1626  2009-05-31 21:25  LibraryManagementSystem\src\org\yuqili\dao\impl\StudentDAOImpl.java

     文件        654  2009-05-31 19:04  LibraryManagementSystem\src\org\yuqili\dao\LBookDAO.java

     文件        419  2009-05-30 01:06  LibraryManagementSystem\src\org\yuqili\dao\SBookDAO.java

     文件        338  2009-05-29 21:05  LibraryManagementSystem\src\org\yuqili\dao\StudentDAO.java

     文件        823  2009-05-30 17:28  LibraryManagementSystem\src\org\yuqili\util\permissionsInterceptor.java

     文件       2708  2009-06-07 10:35  LibraryManagementSystem\src\struts.xml

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

评论

共有 条评论

相关资源