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 <[EMAIL PROTECTED]> wrote:
>
> On 4/26/06, Angel Navarro <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Vinit Sharma
IBM

Reply via email to