-
1. Re: Seam and SEO
amarinis Aug 21, 2006 3:33 AM (in response to smokingapipe)This would be a great feature. I have clients requesting this in most of there RFP's.
-
2. Re: Seam and SEO
christian.bauer Aug 21, 2006 4:41 AM (in response to smokingapipe)Apache mod_rewrite or equivalent.
-
3. Re: Seam and SEO
christian.bauer Aug 21, 2006 4:42 AM (in response to smokingapipe)And what is wrong with a simple filter? That is what they are made for, as are the rewrite features of any good webserver. Why would we duplicate mod_rewrite in Seam?
-
4. Re: Seam and SEO
smokingapipe Aug 21, 2006 4:45 AM (in response to smokingapipe)Well I do it all the time in Apache when I'm working on PHP but I am not excited about introducing Apache into my projects. To be honest I would like to never use Apache httpd again if I can avoid it.
Maybe I'll try some kind of filter to do this. -
5. Re: Seam and SEO
smokingapipe Aug 21, 2006 4:47 AM (in response to smokingapipe)Ok, I'll write a filter. I guess I need to figure out how the RequestDispatcher would look to trigger a JSP page with Seam. If I can figure that part out the filter should be pretty simple.
The only reason to possibly do it within Seam is that the pages.xml file seems like it might be able to do something like that. But if the Seam devs think filters are the way to go, I'll go with a filter. -
6. Re: Seam and SEO
christian.bauer Aug 21, 2006 9:43 AM (in response to smokingapipe)Even if a filter is too complicated, a mod_rewrite equivalent in Tomcat (and others) is then the way to go. I don't think this should be the job of the webapp framework, it's the responsibility of the webserver.
-
7. Re: Seam and SEO
perwik Aug 22, 2006 11:14 AM (in response to smokingapipe)Url Rewrite Filter, mod_rewrite for the Java world:
http://tuckey.org/urlrewrite/