Internationalization in Struts 1.1

How do you internationalize your struts 1.1 application?  Here are simple steps:

  1. Prepare you language speicific resource bundles.
  2. Provide default resource bundle in struts-config.xml using message-resources
  3. Include struts bean tag lib in your web.xml using taglib
  4. In JSP,  include your struts bean tag lib directive
  5. In JSP,  replace all hard-coded string … values with interntaionalized property keys using message property of bean tag
Advertisements
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

One Response to Internationalization in Struts 1.1

  1. Pingback: Validation and erroror reporting in Struts 1.1 « Learn Something New Each Day, Every Day

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s