Sep 4th, 2009, 10:46 AM
override default file location
Is it possible to configure the system to fetch the "hardcoded" ServletContext resource from a directory other than /WEB-INF.
For example, the spring docs state that if this is in the web.xml:
<!-- take especial notice of the name of this servlet -->
there needs to have a corresponding file named spring-ws-servlet.xml in the WEB-INF directory. I would like to put this file elsewhere (basically a system that allows for the extension of web services without modifying the original WAR file). Is this possible?
I suspect that the spring implementation is using a file url and not a classpath url. A classpath url would do the trick... is there a way to instruct the spring framework to use a different strategy when loading servlet context resource files?