user1016403 user1016403 - 1 year ago 163
Java Question

Adding context loader listener to web.xml in spring MVC?

I am new to

Spring MVC
. I have a web application. I have below configuration.


Do I need to add below line to


Answer Source

Yes you need to add ContextLoaderListener in web.xml, only if you want to load other Spring context xml files as well while loading the app and you can specify them as

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download