Hi
I have 2 message resource files,
com.myapp.one.properties and com.myapp.two.properties
I haev some messages in one and some messages in two,
and want to display these in jsp and in action class
etc
how do i define them in my struts-config.xml and use
them with <bean:message...> tag.
This is what i am trying but is not working
<message-resources
key="org.apache.struts.action.MESSAGE"
parameter="com.myapp.one" />
<message-resources  key="message1"
parameter="com.myapp.two" />

and in my jsp i have
<bean:message key="errors.header"/> , where
errors.header is defines in one.properties
and 
<bean:message key="approval.001"/>
which is defines in two.properties file
i also tried
<bean:message key="message1.approval.001"/>
but does not work
Ashish

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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

Reply via email to