web.xml中的contextConfigLocation在spring中的作用
在web.xml中通过contextConfigLocation配置spring,contextConfigLocation
参数定义了要装入的 Spring 配置文件。
如果想装入多个配置文件,可以在
标记中用逗号作分隔符。
在web.xml里配置Listener
xml 代码如下:
org.springframework.web.cont...
原创
2013-08-01 13:52:08 ·
116 阅读 ·
0 评论