Hi!

Justin Walters wrote:
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?

AFAIK this is not possible with tomcat out of the box. You basically have two options here: either use the normal script.jsp?path=/more/pathinfo syntax and use that variable in your jsp or use some kind of URL rewriting. If you are using apache with tomcat, this can be done with mod_rewrite, if you use tomcat standalone, you can write a filter in your webapp to do this.


HTH

Phil


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to