OK, this is really annoying, but I have a client who wants his URL's to look nice and friendly. I have ruled out using mod_rewrite in apache. I would like to be able to have
http://server/news.html execute my News screen class in Turbine (i.e., http://server/servlet/Turbine/template/news.html) Is there a clean way to do this? I have been looking at Filters, but I am not sure if that will work in this case. I have also considered writing a servlet to forward the request (via RequestDispatcher) to Turbine. Are there any pitfalls to this method? Here are some other examples of the mappings that I will need to implement: * http://server/blah/foo.html/action/Update/var/123 -> http://server/servlet/Turbine/template/blah/foo.html/action/Update/var/123 * http://server/images/image.jpg This one will be left alone. Basically, any request for a template (*.html or *.vm) or action will be handled by Turbine, while other requests will be assumed to be static (I am hoping there will never be any JSP). I realize that by doing this, TemplateLink may not work properly, and I may have to write my own if I want to use the link tool in my templates. Thanks. -- \ Craig Patrick McDaniel /_\ Software Engineer /_/_\ n + 1, Inc. /_/_/_\ [EMAIL PROTECTED] /_/_/_/_\ (502) 479-5557 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
