• 大小: 0.02M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-03-27
  • 语言: 其他
  • 标签: 其他  

资源简介


测试环境 Windows STS Mysql5 Jdk1.8 Tomcat8 Maven3 Struts2 + Spring4 + Hibernate3 + Activiti5.17 希望对你们有所帮助!

资源截图

代码片段和文件信息

package me.dengfengdecao.demo.action;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

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

import me.dengfengdecao.demo.service.UserService;

@Controller(“userAction“)
@Scope(“prototype“)
public class UserAction extends ActionSupport {

@Resource
private UserService userService;

public String addUsers() throws Exception {
userService.addUsers();
ActionContext.getContext().put(“message“ “Test Action Success!“);
return SUCCESS;
}



}

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

     文件        313  2015-08-03 17:34  activiti-ssh-demo\.checkstyle

     文件        535  2015-08-02 22:53  activiti-ssh-demo\.classpath

     文件       1521  2015-08-03 17:34  activiti-ssh-demo\.project

     文件        198  2015-08-02 22:52  activiti-ssh-demo\.settings\org.eclipse.core.resources.prefs

     文件        238  2015-08-02 22:50  activiti-ssh-demo\.settings\org.eclipse.jdt.core.prefs

     文件        106  2015-08-03 17:34  activiti-ssh-demo\.settings\org.eclipse.ltk.core.refactoring.prefs

     文件         86  2015-08-02 22:50  activiti-ssh-demo\.settings\org.eclipse.m2e.core.prefs

     文件         80  2015-08-03 17:34  activiti-ssh-demo\.settings\org.hibernate.eclipse.console.prefs

     文件       9152  2015-08-03 17:34  activiti-ssh-demo\.settings\org.springframework.ide.eclipse.core.prefs

     文件        417  2015-08-02 22:51  activiti-ssh-demo\.springBeans

     文件       5824  2015-08-03 18:02  activiti-ssh-demo\pom.xml

     文件        660  2015-08-02 22:27  activiti-ssh-demo\src\main\java\me\dengfengdecao\demo\action\UserAction.java

     文件        446  2015-08-03 17:38  activiti-ssh-demo\src\main\java\me\dengfengdecao\demo\domain\User.hbm.xml

     文件        458  2015-08-02 20:16  activiti-ssh-demo\src\main\java\me\dengfengdecao\demo\domain\User.java

     文件        735  2015-08-03 19:20  activiti-ssh-demo\src\main\java\me\dengfengdecao\demo\service\impl\UserServiceImpl.java

     文件        102  2015-08-03 17:01  activiti-ssh-demo\src\main\java\me\dengfengdecao\demo\service\UserService.java

     文件       2907  2015-08-03 16:49  activiti-ssh-demo\src\main\resources\activiti-context.xml

     文件       3701  2015-08-03 17:29  activiti-ssh-demo\src\main\resources\application-config.xml

     文件        710  2015-08-03 19:44  activiti-ssh-demo\src\main\resources\db.properties

     文件        631  2015-08-03 17:37  activiti-ssh-demo\src\main\resources\hibernate.cfg.xml

     文件        907  2015-08-03 19:21  activiti-ssh-demo\src\main\resources\logback.xml

     文件        592  2015-08-03 19:21  activiti-ssh-demo\src\main\resources\struts.xml

     文件        375  2015-08-02 22:53  activiti-ssh-demo\src\main\webapp\index.jsp

     文件        231  2015-08-02 22:50  activiti-ssh-demo\src\main\webapp\WEB-INF\view\showMessage.jsp

     文件       1518  2015-08-03 18:30  activiti-ssh-demo\src\main\webapp\WEB-INF\web.xml

     文件       1013  2015-08-03 19:22  activiti-ssh-demo\src\test\java\me\dengfengdecao\demo\test\IntegrationTest.java

     文件       2907  2015-08-03 19:24  activiti-ssh-demo\target\classes\activiti-context.xml

     文件       3701  2015-08-03 19:24  activiti-ssh-demo\target\classes\application-config.xml

     文件        714  2015-08-03 19:24  activiti-ssh-demo\target\classes\db.properties

     文件        631  2015-08-03 19:24  activiti-ssh-demo\target\classes\hibernate.cfg.xml

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

评论

共有 条评论