java web 旅程
spring和spring mvc
spring的配置一般是要有个webapplicationcontext.xml
而这个webapplicationcontext.xml 是由web.xml里的LIstener配置生成的。
里面保存一些beans
而spring mvc 的配置文件[servlet]-servlet.xml同样是由web.xml文件的servlet文件配置生成的
本文探讨了Spring和SpringMVC的配置机制。重点介绍了webapplicationcontext.xml和[servlet]-servlet.xml这两个核心配置文件的生成方式及其作用。前者通过web.xml中的Listener配置生成,后者则由servlet配置生成。
spring和spring mvc
spring的配置一般是要有个webapplicationcontext.xml
而这个webapplicationcontext.xml 是由web.xml里的LIstener配置生成的。
里面保存一些beans
而spring mvc 的配置文件[servlet]-servlet.xml同样是由web.xml文件的servlet文件配置生成的
2312
1万+

被折叠的 条评论
为什么被折叠?