This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes I18N in Struts 1.2 and Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "I18N in Struts 1.2 and Struts 2" Watch "I18N in Struts 1.2 and Struts 2" New topic
Author

I18N in Struts 1.2 and Struts 2

Vicky Vijay
Ranch Hand

Joined: Apr 23, 2008
Posts: 125
Hello All,

Please let me know , how can the below scenario can be achieved

I18N Application : Website Implementation

Based on the LOCALE, it should display different Screens

i.e.,

1. FOR US LOCALE, the "JSP_US.jsp" should be invoked
2. FOR FRENCH LOCALE, the "JSP_FR.jsp" should be invoked


point 1 and 2 describes that, the screens are totally DIFFERENT based on LOCALE

How this can be achieved in STRUTS 1.2 and STRUTS 2 version ?

What configuration needs to be done ?





Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8935
    
    9

Have you looked at the documentation?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: I18N in Struts 1.2 and Struts 2