Hi Configure struts config like this <message-resources parameter="com.........resources.MessageResources" null="false"/>
<message-resources parameter="com............resources.ImageResources" null="false" key="image"/> in jsp you can use image message resources as <bean:message bundle='image' key='image.myImageKey'/> and default message resources can be used as <bean:message key='application.somekey'/> I hope this would solve your problem. Bals -----Original Message----- From: SrinivasaReddy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 19, 2006 5:51 PM To: Struts Users Mailing List Subject: Re: how can i use two properties files? 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#a63 86912 > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]