tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Bowen <kbo...@als.com>
Subject Re: friendly urls
Date Mon, 02 Mar 2009 12:52:04 GMT
In this regard,   http://tuckey.org/urlrewrite/    is a very useful  
tool.

-Ken

On Mar 2, 2009, at 6:55 AM, Tim Funk wrote:

> * is mapped to the default servlet. And this is done system wide in  
> conf/web.xml. You can turn that behavior off and require each webpp  
> to map *. But then youi also need to make sure you have a way to  
> serve static content like images. (Which is what the default servlet  
> does)
>
>
> A better way is to use a Filter. The filter can look at the URL  -  
> determine if it is SEO friendly URL, and then perform a  
> RequestDispatcher.forward() to the "real servlet".
>
>
> -Tim
>
> Dan Vega wrote:
>> Thanks for the help Chuck. I am actually running railo under tomcat  
>> fine
>> right now and as you said its just a specific app thats not working  
>> because
>> it uses a convention for urls. From what I understand Tomcat only  
>> allows one
>> * per mapping and thats why these urls are not working and that  
>> resin allows
>> for this. Is this not correct?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message