Hi

You dont need anything in web.xml except from config parameter name and
value
which I beleive you would have given.

Just let me know if you are using tiles by any chance.
We had some problems in the application we developed due to tiles.

Just make sure that name of the files in classpath matches the parameter in
message-resources tag

Harjot


----- Original Message ----- 
From: "SMETS Thomas" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, May 17, 2004 3:02 PM
Subject: About multiple Resourcebundles


>
> Dear,
>
> I am struggling a bit with the usage of more than one Resourcebundle in
Struts-config.xml.
> I have defined two "property" files in my classpath :
> _ ApplicationResources.properties
> _ ApplicationResources2.properties
>
>
> The bottom line is (I think) how do I access the messages when I have the
following in my struts-config :
>
>   <!-- Defines a Set of Message resources that would be located in
ResourceBundle-like files -->
>   <message-resources
>         parameter="ApplicationResources"
>         null="false" />
>
>   <!-- Defines a Set of Message resources that would be located in
ResourceBundle-like files -->
>   <message-resources
>         parameter="ApplicationResources2"
>         key="button"
>         null="false" />
>
>
> What do I write in my jsp's ?
> <bean:message bundle="button" key="myKey"/>
>
> Do I need to add something in my web.xml ?
>
> \T,
>
>
>
>
>
> --
> Thomas SMETS
> Architect reengineering OEIL
> T. : 44375
>
> ---------------------------------------------------------------------
> 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