tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edoardo Panfili <>
Subject Re: Read and write inside WEB-INF
Date Sat, 14 Jul 2007 08:17:20 GMT
Jacob Rhoden ha scritto:
> Hi,
> I have seen a few apps do this now and I would like to do it, to have a 
> configure page that read and writes a properties file somewhere inside 
> the WEB-INF directory. That said, I have been researching and cant find 
> out where, what is the correct way to find the location of your WEB-INF 
> directory (or your apps directory for that matter).
> Best Regards,
> Jacob
try with
String x = this.getServletContext().getRealPath("WEB-INF");


tel: 075 9142766

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message