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
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
2 matches
Mail list logo