Hi,
I have set a session scope object in my session and I want to add a disabled attribute in one of my button using JSTL Ternary operator.
The getPermission is a map of privileges for the currently login user but I am not sure why I am encountering the error unterminated c:out tag in my JSP when it goes to this JSP.
<button type="button" id="addButton"
<c:out value="${empty sessionScope.voUserInfo.getPermission.ADD_ITEM ? "disabled='disabled'" : ''}"/> >
ADD
</button>
Any advise please?