tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Chang - 張拓 <>
Subject RE: Application Path
Date Fri, 08 Dec 2000 09:32:18 GMT
String appPath = request.getRealPath("/");

-----Original Message-----
From: Saikat Chatterjee []
Sent: Friday, December 08, 2000 5:17 PM
Subject: Application Path

Hello All,
            I have a question regarding application path in Tomcat. I have
loaded and application named "myapp" under 'webapps' of Tomcat. Now, is it
possible to know the full path of my application "myapp"?[i.e upto and
the folder 'myapp']

Thanks in advance,


View raw message