Hello,
I have a web.xml for an application configured like such:
The classpath context reference is intended to pull spring context files from the root of the classpath. Essentially I have two files context-dao.xml and context-datasource.xml that are within a JAR file in the webapp's /WEB-INF/lib. Is is possible to load these context files using the web.xml or would the context files need to exist in some package on the classpath (in jar or not)?Code:<context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:context-*.xml</param-value> </context-param> <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener>
Any help would be great!
Thanks


Reply With Quote