You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Rooms, Christoph" <CR...@SilverStream.com> on 2001/11/16 16:02:41 UTC
Use Request Attribute in message tag
Hi,
I'm using Struts 1.0.
I want to put a localized message on the error.jsp. Therefor when I have an
error in my action, I will fill up an attribute in the request with the
locale key. And then use this tag in my error.jsp ...
<bean:message key="<%=request.getAttribute("errorMessage%>")"/>
But ... It doesn't work ...
Anyone knows how do this ?
Thanks!
Christoph Rooms