tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?
Date Mon, 20 Jan 2003 15:14:57 GMT

>Just to make sure I have this right: the only time that a webapp is
>allowed to write files in a portable fashion is in the temporary
>directory provided by the ServletContext?


All other writing should be done to directories/files declared as
parameters to your context or servlets.  For example:

This way other people using/deploying your app can configure these
settings to a directory that suits their deployment.

Yoav Shapira
Millennium ChemInformatics

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

View raw message