tomcat-users mailing list archives

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

-----Original Message-----
From: Saikat Chatterjee [mailto:saikatc@interrait.com]
Sent: Friday, December 08, 2000 5:17 PM
To: tomcat-user@jakarta.apache.org
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
including
the folder 'myapp']

Thanks in advance,

Saikat


Mime
View raw message