How to configure static context path in jboss7?

I am trying to find a way to configure a static context path i am jboss7. We are updating with jboss4.2, and in this version we had a configuration item in the server.xml file that looked like this:

   <Host name="localhost"
       autoDeploy="false" deployOnStartup="false" deployXML="false"
       configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
       >

        <Context path="/directory/pdf"
                docBase="/tmp/pdfdok"
                reloadable="true">
        </Context>

This was in the deploy \ jboss-web.deployer directory.

The goal is to be able to access the / tmp / pdfdok directory using the URL: http: // server: port / directory / pdf or more precisely to get the generated pdf document in this directory with the URL: http : // server: port / directory / pdf / pdfdoc.pdf from the client popup.

Is there anyone who can help me?

thank

rune

+5
source share

All Articles