0 Replies Latest reply on Oct 4, 2005 3:24 AM by coolerking

    multiple WEB-INF directories in a .war file?

    coolerking

      Hi,

      I need to know if its possible to have multiple WEB-INF directories, each with its own web.xml as part of a .war package?

      i.e a setup something like this:

      example.war:
       |
       example
       |
       |-WEB-INF/web.xml (empty)
       | - classes
       | - lib
       |
       |- dirA
       | - WEB-INF/web.xml (with details)
       | - jsps, gifs etc
       |- dirB
       | - WEB-INF/web.xml (with details)
       | - jsps, gifs etc
       |- dirC
       | - WEB-INF/web.xml (with details)
       | - jsps, gifs etc
       |- dirD
       | - WEB-INF/web.xml (with details)
       | - jsps, gifs etc


      This way I don't need to combine all the web.xmls into a common one.

      1) Is this a possibility?

      2) Do I need to make any changes to any JBoss files to be able to read the individual web.xml files?

      Thanks.