best way to setup servlet and filter for REST style URLs

2006-10-17 Thread Jason Novotny
Hi, I'm developing a web application and have a couple important constraints: + URLs should look nice and be bookmarkable in the style of REST e.g. http://localhost/myapp/mylayout/someaction/ + Should be relatively easy to move the WAR call it myapp.war to some other WAR e.g.

Re: best way to setup servlet and filter for REST style URLs

2006-10-17 Thread Michael Courcy
Hi, If you don't want to use a filter you should consider the urlrewrite capacity of apache. Here is a tech note that should help you http://www.amitysolutions.com.au/documents/URLRewriting-technote.pdf Of course if u use tomcat as a stand alone server it could be not adapted. Though It's

Re: best way to setup servlet and filter for REST style URLs

2006-10-17 Thread Hassan Schroeder
On 10/17/06, Jason Novotny [EMAIL PROTECTED] wrote: I'm unsure what you're trying to do -- + URLs should look nice and be bookmarkable in the style of REST e.g. http://localhost/myapp/mylayout/someaction/ The approach I started to take was to use a servlet filter that could take any