Flow is forwarded from two controllers to a JSP. From one controller a new Object of Class A is being passed whereas from the second controller a persisted object of class A which is obtained from the db is being passed.
In JSP I need to check if the object has values or new & perform operations respectively. Can anyone tell me how do I check?
I tried this
<c:if test="${empty A}"> Print </c:if>
but it's not working.