Where is your _status property? Is it in session or request or as a property in your action class? And what is the data type of your _status field?
If it is in your session the below one will work <s:if test="#session._status != 'T'"> If it is in your action class as property having getter and setter, the below one will work <s:if test="%{_status != 'T'}"> All the best. -----Original Message----- From: piltrafeta [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2008 6:04 PM To: user@struts.apache.org Subject: s:if comparing a string Hello, in m'y jsp i'm trying to compare a String link this <s:if test="#session.request._status != 'T' "> but is not working, does anybody knows the sintaxis? Thanks -- View this message in context: http://www.nabble.com/s%3Aif-comparing-a-string-tp19106286p19106286.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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]