I want to display a message on a page only if the property sessionId of my bean is null, but it doesn't work
<table bgcolor="#FFFFFF" align="center" cellspacing=0 cellpadding=4 border="0" width="100%"> <logic:equal name="user" property="sessionId" value="0"> <tr align="center"> <font color="#000000" size="4"> <b><bean:message key="label.logged.out"/></b> </font> </tr> </logic:equal> <tr valign="top" align="left"> <td align="center" width="30%"><b><bean:message key="label.username"/></b></td> <td align="left" width="30%"><html:text property="userName"/></td> <td width="40%"></td> </tr> </table> I tried with the logic:notPresent tag but it doesn't work <logic:notPresent name="user" property="sessionId"> <tr align="center"> <font color="#000000" size="4"> <b><bean:message key="label.logged.out"/></b> </font> </tr> </logic:notPresent> when the parameter sessionId is null nothing is displayed on the page, the others fields must be displayed. Do you have an idea ? Thanks -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>