Have you tried doing a <bean:define> first, and then checking for null with
<logic:present>?
For example, say that you were doing this:
<bean:write name="foo" property="bar"/>
But you want to make sure that it isn't null first...so, try this:
<bean:define id="bubba" name="foo" property="bar"/>
<logic:present name="bubba">
<bean:write name="bubba"/>
</logic:present>
(i haven't tested this, so my apologies for any syntax errors)
Hope that helps.
chris
> -----Original Message-----
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 3:37 PM
> To: 'Struts Users Mailing List'
> Subject: RE: bean:write returning null
>
>
> I tried logic:isEmpty without success.
>
> -----Original Message-----
> From: Thinh Doan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 4:44 PM
> To: Struts Users Mailing List
> Subject: RE: bean:write returning null
>
>
> Can you use logic:present ?
>
> Thinh
>
> -----Original Message-----
> From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 3:30 PM
> To: Struts (E-mail)
> Subject: bean:write returning null
>
>
> How are you guys testing for this in JSP?
>
> Mark
> "De recta non tolerandum sunt."
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>