Re: PreffixMapper for language

2012-07-10 Thread J. Garcia
Does not sound bad. Just try it. Another option worth trying-out is urlrewrite: http://tuckey.org/urlrewrite/ With urlrewrite filter, you could set locale and forward to /mypackage/myaction. Saludos, J. On Mon, Jul 9, 2012 at 9:27 PM, JOSE L MARTINEZ-AVIAL wrote: > Last try: > Hello, > I have

Re: PreffixMapper for language

2012-07-09 Thread JOSE L MARTINEZ-AVIAL
Hi Takanori Hayashi, Yes, I know I can do that. The problem is that the requisite is to receive the language through the URL. I want to retrieve the locale, put it into the ActionContext, remove the locale from the URL, and then send the request to the ActionMapper, so the mapping won't depend on

Re: PreffixMapper for language

2012-07-09 Thread Takanori Hayashi
Hello Josel Martinez-Avial, To make mutilanguage application in Struts, you can use property files like MessageResources_en.propeties, MessageResources_pt.properties for portuguese. The property files are placed under src directory and classes directory after compiled. Configuration file is

Re: PreffixMapper for language

2012-07-09 Thread JOSE L MARTINEZ-AVIAL
Last try: Hello, I have a requisite to provide multilanguage in my app using a preffix in the action. So the URLs would be http://myserver/mypackage/myaction (for the default language) http://myserver/en/mypackage/myaction (for english) http://myserver/pt/mypackage/myaction

Re: PreffixMapper for language

2012-07-09 Thread jlmagc
Sorry, It went through too early Sent via BlackBerry from T-Mobile -Original Message- From: jlm...@gmail.com Date: Mon, 9 Jul 2012 18:56:43 To: Struts Users Mailing List Reply-To: jlm...@gmail.com Subject: PreffixMapper for language Hello, I have a requisite to provide multilanguage