Hi, use JSTL. Do not spend time with the Struts tags. here is an example:
<c:if test="${error1 or error2}"> <ul> <c:if test="${error1}"> <li>Error 1 has occurred.</li> </c:if> <c:if test="${error2}"> <li>Error 2 has occurred.</li> </c:if> </ul> </c:if> Chipix On Wed, 05 Jan 2005 01:05:30 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > Look into the expression language's Logical OR ("||") operator and the > JSTL core tags (such as c:if). Possibly the OR operator would work > within an EL expression using the logic:equal tag as well, but I just > can't think of an example. > > Erik > > > Krishna Mohan Radhakrishnan wrote: > > > > >Hi all, > >A very simple question. > > > ><logic:equal ......> > > <logic:equal......> > > ....... > >......... > > > > > > </logic:equal......> > ></logic:equal......> > > > >The above code is just like an AND function. > >Only if both the conditions are equal it will go inside the loop. > > > >Similarly How will we do it for an OR condition. > >If any condition satisfies it should go inside the loop. > > > >May be this sounds a very silly question. I am a fresher to struts. > >That's Y? > > > >Regards, > >Krishna Mohan R > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]