My web application name

2003-03-03 Thread awc
Hi all, how do I get name of the web application a servlet execute on servlet spec 2.3. like in http://ww.mydomain.com/myapp/save.do from saveAction.class , how do I find out myapp part. the method servlet.getServletContext().getServletContextName() returns null. thanks for any info.

RE: My web application name

2003-03-03 Thread Raible, Matt
request.getContextPath() -Original Message- From: awc [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2003 10:36 AM To: Struts Users Mailing List Subject: My web application name Hi all, how do I get name of the web application a servlet execute on servlet spec 2.3