That worked

Thanks Wendy,

Barry
----- Original Message ----- 
From: "Wendy Smoak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, October 17, 2003 2:51 PM
Subject: RE: Using <fmt:message with struts


Barry Volpe wrote:
> Want to replace:
> <bean:message key="view.title" />
> with
> <fmt:message key="view.title" />
> I put:
> <%@ taglib uri="http://java.sun.com/jstl/fmt"; prefix="fmt" %>
> in my jsp.
> All I get is 
> ???view.title???
> What am I missing?

I know this one!  (Having asked the same thing earlier in the week. ;)  

In web.xml:
  <!-- this is necessary for the <fmt:message> tags to work -->
  <context-param>
 
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
    <param-value>ApplicationResources</param-value>
  </context-param>

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 

---------------------------------------------------------------------
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]

Reply via email to