struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhakar487248 <sudhakar487...@gmail.com>
Subject Multiple matches with single <logic:match...>
Date Wed, 29 Jun 2011 12:14:39 GMT
is there any way to test more than one match at a time by using single struts
tag lib

<logic:match ....>

i mean 

i have a string and i want to check that string is having either "ERROR:" or
"POPUP:"

like as follows 

String str="example ERROR:"
str.contains("ERROR:") || str.contains("POPUP:")

--
View this message in context: http://struts.1045723.n5.nabble.com/Multiple-matches-with-single-logic-match-tp4534953p4534953.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message