Re: URL rewriting best practice?

2005-12-15 Thread Bruno Georges
Kristian you can write a servlet filter for this. It will be easier that way. mod_rewrite is one way of doing it , but if you are going to target only your JSP I would recommend to go to the servlet filter way. You could also use valves, but you can do almost the same things with servlet filter.

Re: URL rewriting best practice?

2005-12-15 Thread Bruno Georges
Yes it will work that way. The servlet filter process the request it gets from apache the same way it will without it. Also with mod_jk or mod_proxy Make sure you don't already have some mod_rewrite rules set in your apache, they will take precedance over the filter [if applicable of course].

Re: URL rewriting best practice?

2005-12-15 Thread Hassan Schroeder
Bruno Georges wrote: you can write a servlet filter for this. ... or use an existing one: http://tuckey.org/urlrewrite/ FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com