![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
cch_cch
这个作者很懒,什么都没留下…
展开
-
Spring获取Web应用根目录的方法
Spring 在 org.springframework.web.util 包中提供了几个特殊用途的 Servlet 监听器,正确地使用它们可以完成一些特定需求的功能。比如某些第三方工具支持通过 ${key} 的方式引用系统参数(即可以通过 System.getProperty() 获取的属性),WebAppRootListener 可以将 Web 应用根目录添加到系统参数中,对应的属性名可以通过转载 2015-04-28 11:12:45 · 339 阅读 · 0 评论 -
MyBatis3整合Spring3、SpringMVC3
开发环境: System:Windows WebBrowser:IE6+、Firefox3+ JavaEE Server:tomcat5.0.2.8、tomcat6 IDE:eclipse、MyEclipse 8 Database:MySQL 开发依赖库: JavaEE5、Spring 3.0.5、Mybatis 3.0.4、myBatis-spring-1.0、jun转载 2015-06-09 16:29:47 · 452 阅读 · 0 评论 -
spring事务管理
使用步骤:步骤一、在spring配置文件中引入命名空间 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schem转载 2015-07-22 17:38:09 · 282 阅读 · 0 评论 -
aop事务定义
其中execution 是用的最多的,其格式为:execution(modifiers-pattern? ret-type-pattern declaring-type-pattern? name-pattern(param-pattern)throws-pattern?)returning type pattern,name pattern, and parameters pattern转载 2015-07-23 09:57:57 · 604 阅读 · 0 评论