I'm not sure what you mean.  Are you talking about general programming
or for HTML pages generated with a struts application?  For the latter,
you do not need to use thoses classes, struts does it all for you.

> -----Original Message-----
> From: K.Viswanathan [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, September 04, 2002 1:56 PM
> To: Struts Users Mailing List
> Subject: Re: i18n
> 
> 
> 
> 
> Yes. Tag libraries are useful but what I wanted to know is 
> what are the
> advantages of using MessageResources,    
> PropertyMessageResources etc .
> We can define simple .properties files for every locale and 
> use ResourceBundles to get the data inside the message tag. 
> Are there any advantage of using the classes mentioned above?
> 
> Thanks
> Vishy
> 
> ----- Original Message -----
> From: "Michael" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, September 04, 2002 4:59 PM
> Subject: RE: i18n
> 
> 
> > > I'd be happy if anyone could clarify my basic doubt 
> related to i18n 
> > > . I'd like to know what are the added features related to I18n 
> > > implemented in Struts over the one already supported by 
> java? what 
> > > are the advantages of 
> org.apache.struts.util.MessageResources  ( and 
> > > other related
> > > classes) over ResourceBundle?
> >
> > With struts you can use the
> >
> > <bean:message key="base.title"/>
> >
> > To get the text out of a resource properties file.  Struts will use 
> > the locale defined in the user's browser preferences.
> >
> > Michael
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to