aspose file tools
The moose likes Struts and the fly likes Change language in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Change language in Struts" Watch "Change language in Struts" New topic
Author

Change language in Struts

Miguel Flecha
Ranch Hand

Joined: Jun 23, 2004
Posts: 85
I want to develop my application in English and Spanish.
I have both ApplicationResources files and I also wanto the user to choose the language, so in the login page he can find this:

<html:select property="idioma">
<html ption key="index.espanol" value="sp"/>
<html ption key="index.ingles" value="en"/>
</html:select>

Once the user has chosen the language I don't know how to tell the webapp to change it.
What do I have to do?
Best regards
Miguel
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Change language in Struts
 
Similar Threads
Cannot retrieve mapping for action /
update html:options
set html:option to defalut bean value
How can I add more text input base on users selection
Setting a preselected value in a combo