I would set up three different JSP Pages and route to them based on them answering which country they are from. I suggest you use the struts method to setLocale to the country and then make a version of the resources file for that locale.
In our application we have two sets of properties files. ApplicationResources_es.properties for Spanish ApplicationResources.properties for English If you do a setLocale in struts it will read the key from the appropriate file. so in the English properties file the key is: title.welcome=Hello. How are you? and in the Spanish properties file the key is: title.welcome=Hola. ?Como esta usted? Then in your JSP page all you need to do is do <bean:message key="title.welcome"/> There are other approaches but this will give you the best results. Let me know if you have any more questions on the above. Shawn -----Original Message----- From: Shiva Narayana [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 4:10 AM To: Struts Users Mailing List Subject: Addressformat For Different Countries Hi All, I have to implement address format depending on country in JSP. Like For Australia Line1, line2 ,Street,Code For UK Code,Street,Line1,COuntry For India Street,City,line1,country Likewise i have do display the label and text box based on the country. Please help me how to do this in struts. Thanks in advance. -- Regards Shiva **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]