Multilingual development in struts
1 posts in topic
Flat View  Flat View

Posted By:   Shilpi_Agarwal
Posted On:   Thursday, April 18, 2002 09:03 PM

We can specify only one language property file in web.xml between tags.
How can we incorporate multiple language property files in struts by using Java classes to load a particular file?
Please answer in detail as I am not able to understand how we can use PropertyResourceBundle class to invoke a particular property file in Struts.

Re: Multilingual development in struts

Posted By:   Markus_Neifer  
Posted On:   Friday, April 19, 2002 02:16 AM

Shilpi, you don't need to invoke a particular property file. All this is handled by the Java platform. Essentially you write your property files and that's it. Well, that's the beauty of the Java platform!

I encourage you to read the Struts User's Guide (in Version 1.0.2 you will find the informaion in chapter 3. Building View Components, section 3.2 Internationalized Messages). I further encourage you to read the internationalization trail in the Java tutorial for the basics about i18n.

BTW: there's no tag in the deployment descriptor.

HTH, Markus

About | Sitemap | Contact