You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Holger Klawitter <ho...@klawitter.de> on 2003/01/20 11:00:23 UTC

Re: How do I get the absolute path of a file in a directory above WEB-INF directory of my web application?

> 	java.io.File dir1 = new java.io.File ("..\\"); // line 1

new java.io.File( ".." + File.separator ) would be a somewhat cleaner.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>