If you wish to load a file relative to the context root of your webapp - look at ServletContext.getResourceAsStream()

-Tim

Rodrigo Avila wrote:
Hi,

is possible to make a Propertie, in the web.xml file, poiting to a
file using the relative path of the file? Something like:

propertie: fooProp
value: conf/file.txt (file.txt is in $CATALINA_HOME/conf directory, or
/usr/local/tomcat/conf)

Thanks the help!


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to