资源简介

S2SH整合 struts2 spring4 hibernate4

资源截图

代码片段和文件信息

package com.gxf.actions;

import com.gxf.IDao.IUserDao;
import com.gxf.entity.Users;
import com.opensymphony.xwork2.ActionSupport;

public class UserAction extends ActionSupport{
/**
 * 
 */
private static final long serialVersionUID = 1L;
private IUserDao userDao;
private Users user;

public String login(){
if(userDao.validUser(user))
return SUCCESS;
return ERROR;
}

public IUserDao getUserDao() {
return userDao;
}

public void setUserDao(IUserDao userDao) {
this.userDao = userDao;
}

public Users getUser() {
return user;
}

public void setUser(Users user) {
this.user = user;
}

}

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

     文件        727  2015-04-15 14:32  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.classpath

     文件       1037  2015-04-15 13:46  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.project

     文件        503  2015-04-15 13:46  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.settings\.jsdtscope

     文件        364  2015-04-15 13:46  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.settings\org.eclipse.jdt.core.prefs

     文件        464  2015-04-15 13:46  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.settings\org.eclipse.wst.common.component

     文件        305  2015-04-15 13:46  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2015-04-15 13:46  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2015-04-15 13:46  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       2382  2015-04-15 21:10  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\applicationContext.xml

     文件       1151  2015-04-15 22:17  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\com\gxf\actions\UserAction.class

     文件        586  2015-04-15 22:17  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\com\gxf\Dao\baseDao.class

     文件       1885  2015-04-15 22:17  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\com\gxf\Dao\UserDao.class

     文件       1167  2015-04-15 22:17  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\com\gxf\entity\Users.class

     文件        592  2015-04-15 14:05  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\com\gxf\entity\Users.hbm.xml

     文件        158  2015-04-15 22:17  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\com\gxf\IDao\IUserDao.class

     文件        694  2015-04-15 20:30  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\hibernate.cfg.xml

     文件        105  2015-04-15 19:59  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\jdbc.properties

     文件        620  2015-04-15 21:11  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\struts-user.xml

     文件        355  2015-04-15 21:11  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\build\classes\struts.xml

     文件       2382  2015-04-15 21:10  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\applicationContext.xml

     文件        662  2015-04-15 21:17  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\com\gxf\actions\UserAction.java

     文件        330  2015-04-15 21:05  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\com\gxf\Dao\baseDao.java

     文件        995  2015-04-15 21:22  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\com\gxf\Dao\UserDao.java

     文件        592  2015-04-15 14:05  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\com\gxf\entity\Users.hbm.xml

     文件        797  2015-04-15 19:33  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\com\gxf\entity\Users.java

     文件        129  2015-04-15 14:18  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\com\gxf\IDao\IUserDao.java

     文件        694  2015-04-15 20:30  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\hibernate.cfg.xml

     文件        105  2015-04-15 19:59  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\jdbc.properties

     文件        620  2015-04-15 21:11  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\struts-user.xml

     文件        355  2015-04-15 21:11  struts-2.3.20+spring-framework-4.1.6.RELEASE+hibernate-release-4.3.8.Final\S2SH\src\struts.xml

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

评论

共有 条评论