Ok, it was my fault the foo object was not a String it was an enum type. But still is it possible to do something like contains?
-- View this message in context: http://www.nabble.com/-s2--Would-like-to-do-%3Cs%3Aif-test%3D%22foo.contains%28%27N%27%29%22%3E-tp22328913p22348897.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org