struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject bean:message tag
Date Tue, 01 Jul 2003 08:03:38 GMT

I am trying to print the message as follows using bean tag lib.

<bean:message  name="logonform" />

Where logonform is  the name of the bean in request scope.

Here is what  the javadoc says about the name attribute:

name :Specifies the attribute name of the bean whose property is accessed
to retrieve the value specified by property (if specified). If property is
not specified, the value of this bean itself will be used as the message
resource key

But i get the error that "Property for message key must be a String"

Am i missing something ?


View raw message