struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: usefulness of html:message tag
Date Thu, 05 Dec 2002 17:13:02 GMT
If you look at the docs on the messages tag you will find it supports 
multiple ResourceBundles/properties files as does the entire Struts 


>From: "Khalid K." <>
>Reply-To: "Struts Users Mailing List" <>
>To: <>
>Subject: usefulness of html:message tag
>Date: Thu, 5 Dec 2002 08:57:05 -0800
>Being new to the struts world, I have the following question:
>The <html:message>  tag uses file which is 
>defined in struts-config.xml file.
>This works fine for small sites. But what if the site contains 100s if not 
>1000s lines of text which needs to be managed and internationalized ? In 
>that case file becomes huge and 
>unmanageable, and furthermore as far as I can tell, you are allowed to have 
>only 1 resource file per web app. So internationalization is out of 
>In our case, we don't use html:message tag, but instead we use 
>ResourceBundle to get the resource spanish/english and then in our JSPs we 
>create a bean, and just do a <bean_name>.getValue("key").
>Any ideas of how to approach this in another way ???

Help STOP SPAM with the new MSN 8 and get 2 months FREE*

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message