摘要:
1.init-method="init"public class HelloWorldServiceImpl implements HelloWorldService { private String msg; public void init(){ this.ms... 阅读全文
posted @ 2014-09-23 18:07
龙飞腾
阅读(114)
评论(0)
推荐(0)
摘要:
helloworld 代码说明: constructor-arg 用来表示通过构造方式来注入参数 index="0" 代表构造方法中的第一个参数 阅读全文
posted @ 2014-09-23 16:42
龙飞腾
阅读(262)
评论(0)
推荐(0)
摘要:
http://blog.csdn.net/c5153000/article/details/6234207作用:在启动Web容器时,自动装配SpringapplicationContext.xml的配置信息。因为它实现了ServletContextListener这个接口,在web.xml配置这个监... 阅读全文
posted @ 2014-09-23 15:41
龙飞腾
阅读(289)
评论(0)
推荐(0)
浙公网安备 33010602011771号