I think by chaning like this you can solve it:<c:when test="${reportNum} != 'rpt513' && ${reportNum} !='rpt515'">