RE: how can i use two properties files?

2006-09-19 Thread Balwinder Kumar
Hi

Configure struts config like this




in jsp

you can use image message resources as

and default message resources can be used as


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






















In jsp:

If it is from Image resources: 

If It is from Message resources 
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: 
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]



Re: how can i use two properties files?

2006-09-19 Thread SrinivasaReddy

Ex code here
null="false"/>




null="false" key="esell.image"/>




parameter="comresources.ErrorMessageResources" null="false" 
key="esell.error" />




parameter="comresources.ButtonMessageResources" null="false" 
key="esell.button" />




parameter="com...resources.Questions.properties" null="false" 
key="esell.questions"/>






In jsp:

If it is from Image resources: bundle="esell.image"/>


If It is from Message resources  
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: 
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]