Hi,
I tried to initialize contextConfigLocation with my listener class. It does not load the applicationContext xml file.
I have set it as follows
The code looks form crmapp-servlet.xml when I have specified that it should look for applicationcontext.xml. Please help me here.Code:<listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> servlet> <servlet-name>crmapp</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/config/spring_context/web/applicationcontext.xml</param-value> </context-param>


Reply With Quote