struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudhakar487248 <>
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

like as follows 

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

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message