Re: How use AND,OR in logic struts tag lib

2006-04-27 Thread Vinit Sharma
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' )

Re: How use AND,OR in logic struts tag lib

2006-04-27 Thread Angel Navarro
Thanks 2006/4/27, Vinit Sharma [EMAIL PROTECTED]: 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

How use AND,OR in logic struts tag lib

2006-04-26 Thread Angel Navarro
Hi, I need to translate: if ( a == 'option1' || a == 'option2' ) to struts code I don't know how put || or in logic:equal ?¿?¿?¿? Thanks

Re: How use AND,OR in logic struts tag lib

2006-04-26 Thread Rahul Akolkar
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