struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
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 
framework.

David






>From: "Khalid K." <groups@maikada.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: <struts-user@jakarta.apache.org>
>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 ApplicationResources.properties 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 ApplicationResource.properties 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 
>question.
>
>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 ???
>
>Thanks,
>
>Khalid
>
>
>
>


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


Mime
View raw message