1

I have a Grails application and I want to Rewrite my requests to always forward to the "www" version of the site. That is, from "site.com" -> "www.site.com".

I see that I can use Apache to do this, but I am just using Tomcat right now and would prefer to stay that way if possible. Is there anything I can do? Thanks.

4

1 回答 1

1

我最终使用了URLRewriteFilter。它工作得很好。

于 2013-07-17T15:20:57.187 回答