上一页 1 ··· 4 5 6 7 8
摘要: @Component :标注一个普通的Spring Bean类。@Controller: 标注一个控制器组件类。@Service:标注一个业务逻辑组件类。@Repository:标注一个DAO组件类。首先要使用注解需要配置Spring自动扫描的包 将ScheduleDaoImp类注入在Spring... 阅读全文
posted @ 2014-05-17 13:50 天地大同 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 编写一个拦截ScheduleAction的拦截器package com.manager.interceptor;import java.util.Date;import com.manager.action.ScheduleAction;import com.opensymphony.xwork2.... 阅读全文
posted @ 2014-05-17 11:49 天地大同 阅读(144) 评论(0) 推荐(0) 编辑
摘要: s2sh的整合,首先我们新建一个项目:web项目我们加入struts2的jar包,需要如果你是struts2.2.1的话需要多加入一个javassist-3.7.ga.jar包,需要加入五个jar:commons-fileupload-1.2.1.jarcommons-logging-1.0.4.j... 阅读全文
posted @ 2014-05-17 10:19 天地大同 阅读(229) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8