RE: application path/docBase property

2004-07-29 Thread Shapira, Yoav
Hi, See Jacob Kjome's contributions to the log4j sandbox at http://cvs.apache.org/viewcvs.cgi/logging-log4j-sandbox/src/java/org/apa che/log4j/ (servlet and selector packages). People have been using them in production for a long time now, all reporting success. We will probably put it in log4j

Re: application path/docBase property

2004-07-29 Thread erh
On Thu, Jul 29, 2004 at 01:16:48PM -0400, Shapira, Yoav wrote: See Jacob Kjome's contributions to the log4j sandbox at http://cvs.apache.org/viewcvs.cgi/logging-log4j-sandbox/src/java/org/apa che/log4j/ (servlet and selector packages). People have been using them in production for a long time

Re: Application Path

2000-12-08 Thread Jon Skeet
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'] Within a request, use

RE: Application Path

2000-12-08 Thread Albert Chang -
String appPath = request.getRealPath("/"); -Original Message- From: Saikat Chatterjee [mailto:[EMAIL PROTECTED]] Sent: Friday, December 08, 2000 5:17 PM To: [EMAIL PROTECTED] Subject: Application Path Hello All, I have a question regarding application path in Tomcat. I have

RE: Application Path

2000-12-08 Thread Jon Skeet
You can use the "getDocumentBase()" method to find the path/URL of your servlet. and/or "getCodeBase()" which gets the base URL. No - both of those methods are for *applets*, not servlets. Jon