I am using S2. No wonder I didn't remember using the <logic> tag recently although it looked familiar. Haven't used S1 in a while. Probably should become versed in JSTL though.
On Wed, Jun 29, 2011 at 10:34 AM, Dave Newton <davelnew...@gmail.com> wrote: > The Struts 1 documentation specifically recommends using JSTL when > functionality overlaps. JSTL didn't exist when the first iterations of S1 > tags were developed :) > > If you're using Struts 2 there's less of an advantage, but the OP is on S1. > I've tended to use S2 tags for most stuff in S2 apps. > > Dave > On Jun 29, 2011 11:30 AM, "Nick Broadhurst" <hou1...@gmail.com> wrote: > > "...antiquated Struts tags..." you're concerning me. That's all I use. > > > > On Wed, Jun 29, 2011 at 10:17 AM, Dave Newton <davelnew...@gmail.com> > wrote: > > > >> How about using JSTL? It's the recommended solution when both it and > Struts > >> tags provide equivalent functionality, and it's arguably better than > using > >> the antiquated Struts tags. > >> > >> Dave > >> On Jun 29, 2011 10:03 AM, "sudhakar487248" <sudhakar487...@gmail.com> > >> wrote: > >> > 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-unsubscr...@struts.apache.org > >> > For additional commands, e-mail: user-h...@struts.apache.org > >> > > >> >