• 大小: 34.01M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-27
  • 语言: Java
  • 标签: Struts  Hibernate  Spring  2    

资源简介

基于注解的spring+hibernate+struts2

资源截图

代码片段和文件信息

package action;

import org.apache.struts2.ServletActionContext;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.apache.struts2.convention.annotation.Result;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import entity.Contact;
import net.sf.json.JSONobject;
import service.DemoService;

@Controller
@Namespace(“/xx“)
public class DemoAction extends ActionSupport{

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

     文件        840  2017-03-12 18:30  sshdemo\.classpath

     文件       1037  2017-03-12 18:30  sshdemo\.project

     文件        567  2017-03-12 18:30  sshdemo\.settings\.jsdtscope

     文件        364  2017-03-12 18:30  sshdemo\.settings\org.eclipse.jdt.core.prefs

     文件        473  2017-03-12 21:23  sshdemo\.settings\org.eclipse.wst.common.component

     文件        345  2017-03-12 18:30  sshdemo\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2017-03-12 18:30  sshdemo\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2017-03-12 18:30  sshdemo\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       3830  2017-03-24 13:55  sshdemo\build\classes\action\DemoAction.class

     文件       1652  2017-03-12 21:32  sshdemo\build\classes\applicationContext-configuration.xml

     文件       3273  2017-03-24 13:55  sshdemo\build\classes\entity\Contact.class

     文件       2495  2017-03-12 21:34  sshdemo\build\classes\hibernate.cfg.xml

     文件        782  2017-03-12 21:24  sshdemo\build\classes\log4j.properties

     文件        325  2017-03-24 13:55  sshdemo\build\classes\persistence\DemoDAO.class

     文件       3404  2017-03-24 13:55  sshdemo\build\classes\persistence\GenericDAO.class

     文件        579  2017-03-24 13:55  sshdemo\build\classes\persistence\hibernate\DemoHibernateDAO.class

     文件       1243  2017-03-24 13:55  sshdemo\build\classes\persistence\hibernate\GenericHibernateDAO$1.class

     文件       1439  2017-03-24 13:55  sshdemo\build\classes\persistence\hibernate\GenericHibernateDAO$2.class

     文件       1439  2017-03-24 13:55  sshdemo\build\classes\persistence\hibernate\GenericHibernateDAO$3.class

     文件      15263  2017-03-24 13:55  sshdemo\build\classes\persistence\hibernate\GenericHibernateDAO.class

     文件       1553  2017-03-24 13:55  sshdemo\build\classes\service\DemoService.class

     文件       1071  2017-03-12 22:03  sshdemo\build\classes\struts.xml

     文件       2693  2017-03-20 11:28  sshdemo\src\action\DemoAction.java

     文件       1652  2017-03-12 21:32  sshdemo\src\applicationContext-configuration.xml

     文件       2322  2017-03-20 11:11  sshdemo\src\entity\Contact.java

     文件       2495  2017-03-12 21:34  sshdemo\src\hibernate.cfg.xml

     文件        782  2017-03-12 21:24  sshdemo\src\log4j.properties

     文件        185  2017-03-12 21:38  sshdemo\src\persistence\DemoDAO.java

     文件       5278  2017-03-12 21:26  sshdemo\src\persistence\GenericDAO.java

     文件        257  2017-03-12 21:49  sshdemo\src\persistence\hibernate\DemoHibernateDAO.java

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

评论

共有 条评论