tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger RieƟ <>
Subject servlet access to static resources (pictures)
Date Wed, 13 Jan 2010 14:52:10 GMT
We have defined some paths to static resources in the server.xml:

<Context docBase="c:\pictureroot\applpictures" path="/shop/applpictures" reloadable="false"/>
<Context docBase="c:\pictureroot\drawings" path="/shop/drawings" reloadable="false"/>
<Context docBase="c:\pictureroot\prodpictures" path="/shop/prodpictures" reloadable="false"/>

Is there a way to get the absolute paths of these folders in a servlet? 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message