0 Replies Latest reply on Jan 10, 2004 2:06 AM by erikture

    Static content outside .war-file?

    erikture

      Hello!

      I am using Jboss 3.2.2 together with Jetty.
      In my server I am deploying a number of .ear files each containing a .war file. I would like to be able to configure each war-file to serve static content outside the war-file. I do not whant to configure the server central configurationfiles.

      I would like to configure so that for example war no 1 has a context /external that points to c:/war1/external and war no 2 has a context /external that points to d:/war2/external and so on. I would like to be able to have sereral contexts on each war-file. Each war-file has to be selfcontained regarding configuration.

      I have been able to configure them to define several virtual hosts using the jetty-web.xml file using the following xml.



      hammarby



      But I can not find a similar way for adding contexts.

      /Erik