struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas De Loof" <nicolas.del...@cgey.com>
Subject Re: <bean:define>
Date Fri, 27 Jun 2003 07:34:09 GMT
if groupForm.getGroupname() returns null (or "") your first bean:define will have no body content,
and will so have no
value to assign to the bean to create.

Nico.


> Hi,
> i get the following error message in my jsp and i don't really understand
> why:
>
> Define tag can contain only one of name attribute, value attribute, or body
> content
>
> Now i use two define tags in my jsp:
>
> <bean:define id="groupname" scope="page"><bean:write name="groupForm"
> property="groupname"/></bean:define>
>
> and
>
> <bean:define id="curUser" name="usersit" property="username" scope="page" />
>
> Any help would be appreciated.
>
> Thanks, Filip
>
>
>
>


--------------------------------------------------------------------------------


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


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


Mime
View raw message