Announcement Announcement Module
Collapse
No announcement yet.
Set path that point inside jar file to CONTEXTCONFIGLOCATION for DISPATCHERSERVLET? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Set path that point inside jar file to CONTEXTCONFIGLOCATION for DISPATCHERSERVLET?

    Hi there!

    My question is simple, i have to package my web-application into some jar files.

    In particular i put a jar file containing my source code inside the lib directory of my EAR project.
    Inside this jar there are also the xml to configure spring integration.

    So how can i set the contextConfigLocation for the dispatcher servlet (registered in web.xml) to point to an xml file packaged into this jar file?

    Is that possible?

    Thanks in advance.

    Regards.

    IlPistolero

  • #2
    Please post in the correct forum and don't use caps-lock to try to make your point...
    Last edited by Marten Deinum; Oct 12th, 2012, 05:42 AM. Reason: Moved thread to correct forum.

    Comment


    • #3
      Files can be read as long as the jar is on the classpath, I suggest a read on ear files and how to put jar files from an ear on the classpath of the war in that ear... (It basically involves adding the jar location to the manifest).

      Comment

      Working...
      X