Can a JavaScript function be invoked within an if statement using JSTL?
Here is the code snippet:
<c:choose>
<c:when test="${orderUploadAction.errors.size()==0}">
CALL JS FUNCTION INSIDE IF STATEMENT
</c:when>
<c:otherwise>
CALL JS FUNCTION INSIDE ELSE STATEMENT
</c:otherwise>
</c:choose>