I am new to Spring MVC. I have a web application. I have the following configuration:
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
ContextLoaderListener
web.xml
contextConfigLocation /WEB-INF/spring-security.xml