IF (and this is a big IF) your webapp is expanded, your relative path then becomes from the catalina bin directory, so
../webapps/webappname/otherpath Should work, but it's, I've had succes and failures doing this. -----Original Message----- From: Jonathan Melhuish [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 11:16 AM To: Tomcat Users List Subject: Location of "webapp" directory The JSP files for my web application are located within a subdirectory of the Tomcat "webapps" directory. Is there any way to read the filesystem location of this subdirectory from within a JSP page? I would have thought this would be easy, but I haven't managed to find anything that does this :-( TIA, Jon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]