Vladimir Grishchenko wrote:
> Hi,
>
> I'm new to Tomcat and servlets and need some help.
> Would somebody clarify why getPathInfo() returns null when a servlet accessed via:
>
> http://server/context/servletalias/pathinfo
>
> and it returns "pathinfo" when the same servlet accesses via:
>
It actually returns "/pathinfo", right?
>
> http://server/context/servlet/servletalias/pathinfo
>
> Both invocatoin options seem to work (except the Pathinfo part), which is the
>"correct"
> way to call servlets? What is the difference?
>
What version of Tomcat does this? You are correct -- you should be able to retrieve
the
path info in either case.
>
> Thanx,
> Vlad.
>
Craig McClanahan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]