Hi I don't know it's right place to ask or not. We have a project based on appfuse, we use url rewrite for localization by some rules like this: <rule> <from>/en</from> <to type="redirect">/myHome.action?locale=en</to> </rule>
<rule> <from>/en/</from> <to type="redirect">/myHome.action?locale=en</to> </rule> First rule is ok but the second one which use /en/ redirects the page to this address: http://lcoalhost:8080/myHome.action?locale=en*/ *The "/" cause the locale be "en/" instead of "en" so "en/" is not a valid locale, I can extends LocalFilter class to omit "/" but it doesn't seem the best way. I think LocaleFilter is not who add "/" at the end of URL. How can use "/en/"-like pattern to change the locale in a proper and clean way? Thanks