How do you internationalize your struts 1.1 application? Here are simple steps:
- Prepare you language speicific resource bundles.
- Provide default resource bundle in struts-config.xml using message-resources
- Include struts bean tag lib in your web.xml using taglib
- In JSP, include your struts bean tag lib directive
- In JSP, replace all hard-coded string … values with interntaionalized property keys using message property of bean tag
Advertisement
Pingback: Validation and erroror reporting in Struts 1.1 « Learn Something New Each Day, Every Day