Viewing By Entry / Main
June 30, 2009
I wanted to follow up on Part IV Appendix about SES URLs with Tomcat.

Tony Garcia mentioned it there in a comment and since then Jamie Krug mentioned it in a comment on the Railo blog:

Tomcat can do SES URLs, albeit with some limitations.

If you set the <url-pattern> to /index.cfm/* then Tomcat will handle URLs of the form /index.cfm/event/product/id/1234 correctly.

If you use multiple entry points with SES URLs, you will need a servlet mapping for each URL. For example, on this site I have /index.cfm for my personal site and /blog/index.cfm for this blog. By adding URL patterns for both /index.cfm/* and /blog/index.cfm/* I can use SES URLs natively with Tomcat on both of those applications.

So, not a new tip but I felt it was worth surfacing it in its own blog post. Thank you Tony and Jamie!

Comments

I know this is an older post, but I wanted to point out (in case it hasn't already been done on other posts) that there is a urlrewrite filter made for java by Paul Tuckey. I posted this here as I was skimming through the blog since I will put it to the test and see if it's similar to Apache. If it is, that will be 1 less app to install leaving only Tomcat and Railo for serving the pages!


Post Your Comments
Name:
Email Address:
Comments
*** Please note that all comments require moderation so it may be some time before your comment posts to this blog! ***
Remember My Information:
 



Hosting provided by