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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to