
spring
文章平均质量分 81
jsjw18
高调做事,低调做人
展开
-
web应用中spring提供了几种加载方式
web应用中spring提供了几种加载方式: 1.在web.xml中配置: contextconfiglocation /web-inf/applicationcontext.xml context org.springframework.web.context.contextloaderservlet 1 2.在web.转载 2010-03-28 13:43:00 · 2476 阅读 · 2 评论 -
spring 1.2.8配置文件实例
http://www.springframework.org/dtd/spring-beans.dtd"> --代理对象,运用了spring的面向切面编程,将事物控制切入到业务方法中 --要注意的是业务接口的方法必须以符号*前面的为前缀,否则事物的管理就不起作用了--查询不需要事物控制,但也要try...catch,以免异常情况发生。 P原创 2009-12-10 14:24:00 · 941 阅读 · 0 评论