struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuwan Chandrasoma" <mymail...@gmail.com>
Subject Re: Struts Resource Bundles (i18n)
Date Tue, 17 Jul 2007 12:55:04 GMT
Hi,

You can define multiple resource bundle in struts config., one would be a 
default and other ones you should give a key.

eg:-

 <message-resources parameter="MessageResources"/>
 <message-resources parameter="MyResource"
                    key="my"/>
 <message-resources parameter="YourResource"
                    key="yourResource"/>

Thanks,

Nuwan


----- Original Message ----- 
From: "Saravanan Vijayappan" <saravvij@yahoo.com>
To: "struts user" <user@struts.apache.org>
Sent: Tuesday, July 17, 2007 3:38 AM
Subject: Struts Resource Bundles (i18n)


>
> Hi
>
> I am using struts 1.3.8. I want to create resource bundle properties files 
> for every JSP page, how that needs to be confirured in struts-config.xml 
> since as i know there would be only one ApplicationResources. properties 
> file all the jsp pages for every language..Can we create more than 
> ApplicationResources.properties file every jsp and confiure it ?
>
> Thanks & Regards,
> Saravanan Vijayappan
> IBM Pvt Ltd, Raleigh, NC-27709, USA.
>
>
>
>
>
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all 
> the tools to get online.
> http://smallbusiness.yahoo.com/webhosting 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message