struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angel Navarro" <ange...@gmail.com>
Subject Re: How use AND,OR in logic struts tag lib
Date Thu, 27 Apr 2006 12:23:26 GMT
Thanks

2006/4/27, Vinit Sharma <vinit4j@gmail.com>:
>
> A very small article on JSTL for quick reference:
>
> http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html
>
>
> On 4/26/06, Rahul Akolkar <rahul.akolkar@gmail.com> wrote:
> >
> > On 4/26/06, Angel Navarro <angelna@gmail.com> wrote:
> > > Hi,
> > >
> > > I need to translate:
> > >
> > > if ( a == 'option1'  || a == 'option2' )
> > >
> > <snip/>
> >
> > Use JSTL:
> >
> > <c:if test="${a eq 'option1' or a eq 'option2'}">
> >   ...
> > </c:if>
> >
> > "and" is also available in EL similarly.
> >
> > -Rahul
> >
> >
> > > to struts code....
> > > I don't know how put || or && in <logic:equal.... ?¿?¿?¿?
> > >
> > > Thanks
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Vinit Sharma
> IBM
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message