In Struts <bean:message key= > the default bundle is used without having to declare it in each page. How can this be done in JSTL?
Now just to make sure, again, is it recommended to make the transition to these JSTL tags or is it safe to stay with the Struts ones? Erez -----Original Message----- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:07 AM To: Struts Users Mailing List Subject: Re: message localization On Mon, 11 Aug 2003, Erez Efrati wrote: > Date: Mon, 11 Aug 2003 01:24:58 +0200 > From: Erez Efrati <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> > Subject: message localization > > All this talking on JSP 2.0, JSTL and Struts-el brought me to ask if > I should avoid using the following: > > <bean-el:message key='${UserSexKey["select"]}'/> > > Could someone tell me what is the equivalent in JSTL? > JSTL has formatting and i18n tags that get localized text from resource bundles instead of Struts MessageResources objects -- check out the <fmt:message/> tag, in Section 8.1 of the spec. > Erez Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

