I use the getRealPath,

String pathToPropsFile = config.getServletContext().getRealPath
("WEB-INF/properties/");

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
("../foo/bar");

cheers,

Mehdi



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

Reply via email to