[EMAIL PROTECTED] wrote:

Hello,

I have a little query ->

How can I check for more that one condition using struts logic tags? like

if (A & B & C) {
do something.........
}

how do I achieve the same using struts logic tags?


You can do an "and" test by nesting <logic:xxx> tags inside each other. There's no convenient way to do an "or" test however; that's where the expression language in JSTL and JSP 2.0 comes in very handy (if you're running on a recent enough servlet container to support them).

Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to