tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: How do I access files above and below \web-inf folder?
Date Mon, 02 Dec 2002 10:05:34 GMT

I use the getRealPath,

String pathToPropsFile = config.getServletContext().getRealPath

use "/", as this also works on win platforms, and does not need escaping.
You should be able to use a relative going up the tree, in the argument



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

View raw message