Hi all,

I am facing a problem in doing multiple checks using <c:if> tag library.

Below is the code snippet what I am trying to do, only the first check is being validated (collection.obj=='xyz') however the next two (collection.obj=='abc'||${collection.obj =='pqr'}) aren’t being validated. Please let me know if the syntax is right or not and what is the solution for the same problem.

Code snippet:

<c:if test="${collection.obj=='xyz'}||${ collection.obj=='abc'}||${ collection.obj =='pqr'}">

</c:if>

Thanks in advance,,

Dayakar.S

 

Reply via email to