I am trying to find a way to configure a static context path i jboss7. We are upgrading from jboss42 and in that version we had a config element in server.xml that looked like this:
autoDeploy="false" deployOnStartup="false" deployXML="false"
It was in the directory deploy\jboss-web.deployer.
The intention of this is to be able to reach the directory /tmp/pdfdok with a url like this: http://server:port/puma/pdf or more exactly to reach a generated pdf document on this directory with the url: http://server:port/puma/pdf/pdfdoc.pdf from a client popup window.
Is there someone here who can help me?
It seems like this is impossible to do in jboss7. I solved my problem by using a fileservlet instead. This is a good page to look at for an example: http://balusc.blogspot.com/2007/07/fileservlet.html