You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Hatton <ch...@qwest.net> on 2003/06/02 21:45:04 UTC
for (slightly) more complex comparison
Hello, everyone,
I'm using the <html:match> tag but I need to match on more that one
String value using logical "OR". In other words, how can I use the tag
to do the following?
if (((myString.equals("option_1")) || (myString.equals("option_2"))) {
// Do some stuff
}
Thanks!
Chris Hatton
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org