You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Todor Sergueev Petkov <t....@basalmed.uio.no> on 2003/11/27 10:21:08 UTC

JSTL and Struts tags problem...

Hello everybody,
Any idea why the following shouldn't work:

<html:submit property="act">                       <-- struts taglib

     <fmt:message key="search.generic.reset"/>      <-- jstl taglib

</html:submit>

I also tried to replace the middle line with <fmt:message 
key="${search.generic.reset}"/>.

I also have configured the web.xml to load the properties file for jstl 
to use with the following code:

<context-param>
  <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
  <param-value>ApplicationResources</param-value>
</context-param>

Thanks a lot in advance,
Todor


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org