Hi Billy,

How about this ...

<c:if test="${form.id is not empty}">

</c:if>

Also, what scope is form in?  The tag might not be able to find it if its
not in page, request, session, or application.

Hope this helps,

Peter
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 03, 2003 5:15 PM
Subject: Performing a .equals() within a <c:if> tag....


> All,
>
> I hope I'm asking the correct list... if not, please
> direct me to the correct one...
>
> I'm converting my struts taglibs to JSTL tags and I've
> attempted to convert the following tag to JSTL...
>
> <logic:equals name"form" property="id" value="">
>
> and I tried performing this even though I know it's not
> the exact conversion (I thought it would convert the
> value to null if it was empty...)
>
> I tried this and I got an exception...
>
> <c:if test="${form.id == null}>
>
> Can someone tell me how to perform the .equals() test
> within a <c:if> tag.
>
> Thank you
>
> - Billy -
>
> ---------------------------------------------------------------------
> 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