Ex code here
<message-resources parameter="com.........resources.MessageResources"
null="false"/>
<!-- Image Resorces -->
<message-resources parameter="com............resources.ImageResources"
null="false" key="esell.image"/>
<!-- Error Message Resources -->
<message-resources
parameter="com................resources.ErrorMessageResources" null="false"
key="esell.error" />
<!-- Button Message Resources -->
<message-resources
parameter="com................resources.ButtonMessageResources" null="false"
key="esell.button" />
<!-- Registration Questions -->
<message-resources
parameter="com...............resources.Questions.properties" null="false"
key="esell.questions"/>
In jsp:
If it is from Image resources: <html:img srcKey="image.title_bg01"
bundle="esell.image"/>
If It is from Message resources <bean:message key="selectdist_message"/>
no need or bundle bcoz there is no bundle name in messge-resources ie it is
default message resources
Regards
Srinivasa Reddy
----- Original Message -----
From: "Mallik" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Tuesday, September 19, 2006 5:42 PM
Subject: how can i use two properties files?
Hi Friends
my application in big and it moduled into 4
i wnat to use one properties file for each module
let me know how to configure in struts-config.xml
and how can i specify which file to use
thanks inadvance
ur's
Mallik
--
View this message in context:
http://www.nabble.com/how-can-i-use-two-properties-files--tf2298661.html#a6386912
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]