Re: how to use logical operator in struts logic:equal
Hi, Why dont you give a try with JSTL c:if tag. it has more control over the logic you want to check. Thanks, Nuwan hmkmajeed wrote: Hi All, I need to translate: if ( a == 'option1' || a == 'option2' ) to struts code I don't know how to put || or in logic:equal ?�?�?�? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to use logical operator in struts logic:equal
Thanks for the info Nuwan, but is there anyway to do without using JSTL?.. nuwan chandrasoma-2 wrote: Hi, Why dont you give a try with JSTL c:if tag. it has more control over the logic you want to check. Thanks, Nuwan hmkmajeed wrote: Hi All, I need to translate: if ( a == 'option1' || a == 'option2' ) to struts code I don't know how to put || or in logic:equal ?�?�?�? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/how-to-use-logical-operator-in-struts-logic%3Aequal-tp18502051p18502445.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to use logical operator in struts logic:equal
Hi All, I need to translate: if ( a == 'option1' || a == 'option2' ) to struts code I don't know how to put || or in logic:equal ?�?�?�? Thanks in advance -- View this message in context: http://www.nabble.com/how-to-use-logical-operator-in-struts-logic%3Aequal-tp18502051p18502051.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]