Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6879B4A4A for ; Wed, 29 Jun 2011 14:03:01 +0000 (UTC) Received: (qmail 68838 invoked by uid 500); 29 Jun 2011 14:02:59 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 68719 invoked by uid 500); 29 Jun 2011 14:02:57 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 78110 invoked by uid 99); 29 Jun 2011 12:15:06 -0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of sudhakar487248@gmail.com) Date: Wed, 29 Jun 2011 05:14:39 -0700 (PDT) From: sudhakar487248 To: user@struts.apache.org Message-ID: <1309349679235-4534953.post@n5.nabble.com> Subject: Multiple matches with single MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org is there any way to test more than one match at a time by using single struts tag lib 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