Hi , I have a question about if statement in spring.
If I want to have A and (B or C), how can I write that if statement?
The following didn’t work
<c:if test="${A} && (${B} || ${C})">
I googled it but couldn’t find it.
Thanks!
Hi , I have a question about if statement in spring.
If I want to have A and (B or C), how can I write that if statement?
The following didn’t work
<c:if test="${A} && (${B} || ${C})">
I googled it but couldn’t find it.
Thanks!
this should work
Code:<c:if test="${A && (B || C)}">
http://java.sun.com/j2ee/1.4/docs/tu...JSPIntro7.html
Sometimes (rarely) this is also helpful:
http://java.sun.com/products/jsp/jst...ocs/index.html