struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harring Figueiredo" <>
Subject S2: Use of s:if tag
Date Mon, 02 Apr 2007 20:48:16 GMT
Hi Folks,

What is the proper syntax for the tag  <s:if test=" ...">  (the example on does not really tell how to get
a object from the session map and test for values.

I have an object on the session map, and I can acess with
<s:property value="%{}"/>

However, when I test with

<s:if test="%{} == null">


The test passes, when inf fact name is not NULL. I am sure I am now
referencing the variable the correct way.

Thank you for the help.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message