0 Replies Latest reply on Nov 29, 2004 6:06 AM by grahamm

    Virtual path mapping

    grahamm

      Hi,

      I'm using JBoss 3.2.3 with the embedded Tomcat Servlet Engine, I want to serve images from a SERVER-INF/images directory and also write PDF out to a SERVER-INF/pdf directory. I,ve used JRun before where you can specify virtual path mappings, am I right in assuming that if I put the follwing entries in the jboss-service.xml

       <Context path="/document/images" docBase="/SERVER-INF/images" debug="1" reloadable="true" crossContext="true">
      </Context>
      
      <Context path="/document/pdf" docBase="/SERVER-INF/pdf" debug="1"
      reloadable="true" crossContext="true">
      </Context>
      


      I'll get the same effect? does the docbase have to be an absolute path or is it taken to be relative to the context root?

      TIA Graham