Hi Thiru,

No, you just have to set the language in the request and it opens the right
properties file
on its own.
setLocale(request, new Locale(language, country))
in an action class

Hope this helps
Sakis

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 29, 2003 8:51 AM
Subject: Can I have more than one properties file and retrieve from them
based on the context


Hi,

   I am using struts <bean:message/> tag to retrieve messages from
properties file. I need to specify the properties file name in web.xml
for the action servlet. Can I have more than one properties file and
retrieve it from the properties file by specifying some identifier.

   For e.g., <bean:message key="xx.xx" file="xx"/>.

Regards,
Thiru




----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to