Agreed- value contained in <servlet-mapping> in web.xml will display the address
M- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "David Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Thursday, August 24, 2006 9:05 PM Subject: RE: [OT] request.getServletPath() val not same in Filter & Servlet > First, is '/servlet' the name of your webapp? If so then this might just > make sense. Why? > > The HttpServletRequest.getServletPath() object is described to: >> Returns the part of this request's URL that calls the servlet. > > In a filter, that is the mapping '/*' which as you wrote resulted > in '/servlet'. Well, assuming '/servlet' is the name of your webapp > and not your servlet. > > In a servlet, how did you do your web.xml mapping for the servlet > which resulted in this result '/servlet/package.ServletName' ? > > Regards, > David > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >