资源简介

个人写的这是一个基于SSH框架、运用hibernate+struts+spring+mysql开发的小程序,里面含有完整代码,可以供初学者借鉴

资源截图

代码片段和文件信息

package com.action;
import com.bean.BookTicket;
import com.bean.Ticket;
import com.dao.BookTicketDao;
import com.dao.impl.BookTicketDaoImpl;
import com.opensymphony.xwork2.ActionSupport;

public class BookTicket1Action extends ActionSupport {
private BookTicket bookticket= new BookTicket();
private BookTicketDao b=new BookTicketDaoImpl();

public BookTicket getBookticket() {
return bookticket;
}

public void setBookticket(BookTicket bookticket) {
this.bookticket = bookticket;
}

public String bookAction() throws Exception {
this.b.save(this.bookticket);
return SUCCESS;
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-12-12 00:08  SSH火车订票系统\
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\
     文件         642  2013-06-18 18:09  SSH火车订票系统\Ticket\.classpath
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\meta-INF\
     文件          36  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\meta-INF\MANIFEST.MF
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\action\
     文件         966  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\action\BookTicket1Action.class
     文件         963  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\action\BookTicketAction.class
     文件        2534  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\action\MessageAction.class
     文件        2873  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\action\SelectAction.class
     文件        7336  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\action\TicketAction.class
     文件        4657  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\action\UserAction.class
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\
     文件        2279  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\BookTicket.class
     文件         862  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\BookTicket.hbm.xml
     文件        2282  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\BookTicket1.class
     文件         864  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\BookTicket1.hbm.xml
     文件        1359  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\Message.class
     文件         677  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\Message.hbm.xml
     文件        1372  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\PageUtil.class
     文件        2651  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\Ticket.class
     文件         921  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\Ticket.hbm.xml
     文件        1400  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\Time.class
     文件        2186  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\User.class
     文件         712  2013-06-18 19:36  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\bean\User.hbm.xml
     目录           0  2014-12-12 00:08  SSH火车订票系统\Ticket\.myeclipse\build\WEB-INF\classes\com\common\
............此处省略320个文件信息

评论

共有 条评论