The name of the app is 'app1'
The 'servlet' part of the address is required by the App Server (or
configurable somewhere that I don't know about). By the way, we're using
SAP's Netweaver Developer Studio.
As for the web.xml setting... The only thing I have in web.xml is this
<servlet>
<servlet-name>ServletName</servlet-name>
<servlet-class>package.ServletName</servlet-class>
</servlet>
I don't have a <servlet-mapping> entry for this particular servlet
David Friedman-2 wrote:
>
> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/-OT--request.getServletPath%28%29-val-not-same-in-Filter---Servlet-tf2152125.html#a5981994
Sent from the Struts - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]