I have the following statement in a JSP:

<TD><bean:write name="person" property="groups.name"/></TD>

Where a "person" is an EJB. When the person does not belong to any group, there is an Exception thrown, which I'd like to avoid so as to not have to put conditionals everywhere where the Bean might be null. I tried the 'ignore="true"' attribute of "bean:write", but there is still an Exception being thrown.

Is there a way to really have the and/or other struts tags be immune to these problems?

Thanks,

Zorzella


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

Reply via email to