I am using the Apache JSTL library on my JSP pages. On one of them I
am using the "when" tag with a complex condition. The JSP specs don't
address complex conditions very well, so here I am. My JSTL tags:
<c:choose>
<c:when test="${reportNum != 'rpt513'} && ${reportNum !=
'rpt515'}">
<h1>This is some other report.</h1>
</c:when>
<c:otherwise>
<h1>This is either report 513 or 515.</h1>
</c:otherwise>
</c:choose>
The problem is that the complex condition in the "when" tag doesn't
work (the JSP always goes to the "otherwise" tag). Does anybody know
how to code this complex condition?