You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Claudio Parnenzini <cl...@parnenzini.com> on 2003/04/30 17:21:20 UTC

RE : How to Add An Additional Resource Bundle

In your struts-config.xml:

  <message-resources
parameter="com.exodis.website.tracking.MyNewApplicationResources"
key="MyNewRessource"/>


In your JSP:

  <bean:message key="prompt.MyKey" bundle="MyNewRessource"/>:

Regards

-----Message d'origine-----
De : Tom Hunter [mailto:curmudgeon99@earthlink.net] 
Envoyé : mercredi, 30. avril 2003 15:14
À : struts-user@jakarta.apache.org
Objet : How to Add An Additional Resource Bundle 

Hey All,

   I would like to use an additional resource bundle (differently named)
in the same way that the application.properties bundle is used. Can
anyone tell me what I have to configure to achieve that?


		\WEB-INF\classes\resources

					application.properties
					mybundle.properties

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 10.04.2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 10.04.2003
 


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