It definitely works with mapped servlets, and request.getPathInfo(), if
that's an option for you.
> -----Original Message-----
> From: Justin Walters [mailto:justin@(protected)]
> Sent: Thursday, January 08, 2004 2:11 PM
> To: tomcat-user@(protected)
> Subject: tricking the browser with a path
>
>
> Here is something that works with PHP in Apache:
>
> http://website.com/subdir/script.php/more/pathinfo
>
> It loads script.php, and you then have the option of using
> the rest of
> the pathinfo in your script. Basically, I would like to know
> if it is
> possible to configure it to work like this in Tomcat as well:
>
http://website.com/subdir/script.jsp/more/pathinfo
Currently, it looks like it just assumes script.jsp is another
subdirectory, and so this request doesn't work, you get a 404. Is there
a way for me to configure Tomcat such that it loads script.jsp?
Forgive me if this is an already-discussed topic. I have no idea how to
search for it, as I don't even know of what this is generically called.
thanks,
Justin Walters
justin@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)