--- Derek Richardson <[EMAIL PROTECTED]> wrote:
> Do I still declare my properties files in struts-config and associate
> them with keys?

Yes, and add this to you web.xml file so <fmt:message> will also know
where to find your messages:

<context-param>
<param-name>javax.servlet.jsp.jstl.fmtlocalizationContext</param-name>
<param-value>com.yourcorp.Resources</param-value>
</context-param>

David

> 
> Knew it is a part of the JSTL, didn't know it's a drop-in replacement
> for b:message.
> 
> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 10, 2003 5:48 PM
> To: Struts Users Mailing List
> Subject: RE: ugly ugly ugly
> 
> 
> 
> --- Derek Richardson <[EMAIL PROTECTED]> wrote:
> > Is fmt:message a complete replacement for b:message? What do I have to
> > know to use it? 
> 
> Yes.  <fmt:message> is part of the JSTL 
> http://java.sun.com/products/jsp/jstl/
> 
> David
> 
> > 
> > -----Original Message-----
> > From: David Graham [mailto:[EMAIL PROTECTED]
> > Sent: Friday, October 10, 2003 4:35 PM
> > To: Struts Users Mailing List
> > Subject: Re: ugly ugly ugly
> > 
> > ...
> > That's what I would do except use the JSTL version:
> > <fmt:message key="message.benefits"/>
> > ...
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> ---------------------------------------------------------------------
> 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]
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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

Reply via email to