I believe the simple answer in struts 2.0.6 is
<s:if test="#session.myBean.myProperty == null">
The property is null
</s:if>
which is same in struts 1.x as
<logic:empty name="myBean" property="myProperty">
The property is null
</logic:empty>
Pls let me know if any other alternative or a better
approach
Thanks
--- tom tom <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What is the struts 2.0.6 equivalent for the empty
> check
> for the following
>
> <c:if test="${empty
> sessionScope.myBean.myProperty}">
> do something </c:if>
>
> Thanks
>
>
>
>
____________________________________________________________________________________
> TV dinner still cooling?
> Check out "Tonight's Picks" on Yahoo! TV.
> http://tv.yahoo.com/
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]