Announcement Announcement Module
Collapse
No announcement yet.
override default file location Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • override default file location

    Hi,

    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 -->
    <servlet>
    <servlet-name>spring-ws</servlet-name>
    <servlet-class>org.springframework.ws.transport.http.Messag eDispatcherServlet</servlet-class>
    </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?

    Tks
Working...
X