You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Frohock, Bradley K (Brad), ALABS" <bf...@att.com> on 2003/03/06 15:57:31 UTC

Help! How to Configure Multiple Resources in Struts 1.0.2

Struts 1.0.2

I have seen several threads in the archives pertaining to multiple resources in Struts 1.1+, but no satisfactory replies for Struts 1.0.

I want to create several ApplicationResources to be used in different JSPs, primarily for displaying <html:errors bundle=xxx /> differently.  Many of the Struts Tags in 1.0.2 support the bundle= attribute for specifying non-default resource bundles... but how do you configure them?

Struts 1.0.2 does not support the <message-resource> tag in struts-config.xml.  All that I can find is the application init-parm, which defines the initial ApplicationResources, but not additional resources.  What is the "trick" to doing this in Struts 1.0.2?  Obviously the bundle= attributes are in 1.0.2 for a reason, but I can't find anyway to configure them.

Thanks,

Brad


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org