Peter Lee writes:
I am using Tomcat for servlets. How do I get the absolute path of a file in a directory above WEB-INF
directory of my web application?
Thanks

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

Hello, probably deprecated but probably still works: request.getRealPath("/").

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

Reply via email to