• 大小: 14.82MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-09
  • 语言: 其他
  • 标签: SSH  

资源简介

这是用Struts2+Hibernate+Spring这三大框架来搭建的项目,有普通Aciton,也有Json的Action,这是搭建的ssh地基

资源截图

代码片段和文件信息

package com.ht.action;

import java.util.List;

import com.ht.common.CommonUtils;
import com.ht.service.ITestService;

public class TestAction extends CommonUtils {
ITestService is=(ITestService) getBean(“testService“);

public String testlist(){
System.out.println(“进入到testlist的Action“);
List li=is.testlist();
System.out.println(“List大小为“+li.size());
for (int i = 0; i < li.size(); i++) {
System.out.println(li.get(i));

}

return “totest“;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\
     文件         842  2019-01-02 09:49  ssh框架搭建项目源码\ssh_test\.classpath
     文件        1041  2019-01-02 09:49  ssh框架搭建项目源码\ssh_test\.project
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\.settings\
     文件         503  2019-01-02 09:49  ssh框架搭建项目源码\ssh_test\.settings\.jsdtscope
     文件         364  2019-01-02 09:48  ssh框架搭建项目源码\ssh_test\.settings\org.eclipse.jdt.core.prefs
     文件         476  2019-01-02 09:49  ssh框架搭建项目源码\ssh_test\.settings\org.eclipse.wst.common.component
     文件         345  2019-01-02 09:49  ssh框架搭建项目源码\ssh_test\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2019-01-02 09:49  ssh框架搭建项目源码\ssh_test\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2019-01-02 09:49  ssh框架搭建项目源码\ssh_test\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\action\
     文件        1207  2019-01-07 09:09  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\action\TestAction.class
     文件        1792  2019-01-09 08:35  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\action\TestJsonAction.class
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\common\
     文件         840  2019-01-07 09:09  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\common\CommonUtils.class
     文件        8418  2019-01-09 09:50  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\common\Hibernate_Dao.class
     文件         858  2019-01-07 09:09  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\common\Hibernate_Util.class
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\service\
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\service\impl\
     文件         723  2019-01-07 09:09  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\service\impl\TestServiceImpl.class
     文件         160  2019-01-07 09:09  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\service\ITestService.class
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\vo\
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\vo\mapping\
     文件         632  2019-01-02 19:53  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\vo\mapping\Test.hbm.xml
     文件         942  2019-01-07 09:09  ssh框架搭建项目源码\ssh_test\build\classes\com\ht\vo\Test.class
     目录           0  2019-01-09 09:51  ssh框架搭建项目源码\ssh_test\build\classes\config-resource\
............此处省略63个文件信息

评论

共有 条评论