I am converting from Resin and there I can map a directory not inside
the webapp to one which can be reached via a URL and translated by Resin
as below:
path-mapping
url-pattern/files/*/url-pattern
real-path/realdir/files/real-path
/path-mapping
I can't seem to find a way in Tomcat
There is no way currently. I have a patch on my local machine which
allows add this functionality for FileDirContext.
http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html
Context path=/x
docBase=/usr/local/crap
Resources className=org.apache.naming.resources.FileDirContext
There is no way currently. I have a patch on my local machine which
allows add this functionality for FileDirContext.
http://tomcat.apache.org/tomcat-5.5-doc/config/resources.html
Context path=/x
docBase=/usr/local/crap
Resources className=org.apache.naming.resources.FileDirContext