From: "Néstor Boscán" <[EMAIL PROTECTED]>

Is there a way to access the message resources configured in the
struts-config file from a JSP using <fmt:message /> tag?

I have this in (Servlet 2.3) web.xml:

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

Adjust the param value if your ApplicationResources.properties file isn't directly in WEB-INF/classes.

--
Wendy Smoak

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

Reply via email to