Are you fronting tomcat with something else? Like Apache httpd? I wouldn't classify deploying a ROOT application as experimental either way...
-----Original Message----- From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Sent: Tuesday, October 26, 2010 4:13 PM To: Tomcat Users List Subject: RE: Re: deploying as ROOT application Well, I was assuming these filters are global to Tomcat instance and not specific to an application. I haven't looked at available implementations of these filters yet. Based on your response I take it that my assumption is wrong. In that case, you are right, making my application as ROOT is a better alternative. Just that I haven't been able to locate official Tomcat documentation on deploying as ROOT application. And I didn't want to enter an un-supported experimental territory. -----Original Message----- From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] > But now I am thinking that perhaps URL rewriting can help me here. > Perhaps I can still deploy my application as "myapp" and use URL > rewriting filters to do following mapping: > > /foo --> /myapp/foo > /bar --> /myapp/bar > /sample1.html --> /myapp/sample1.html > > Will this work? Are there good URL re-writing filter libraries > available? Yes, it /would/ work, but why in the name of $DEITY would you go to all that trouble when you can just name your application ROOT and be done with it?? You would still have to have a ROOT application to contain the filters anyway, unless you're front-ending the app with something else like Apache httpd. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org