Hi I have a class it contains a boolean value. I want to access its value in JSP page, if this value is false a link will show and if it true link will not show. I have also tried using getter method but it is not working, is there any way to this. My code is as below-
public class Test {
public static boolean isMonitoringStarted;
}
And in my JSP page I am trying this, but its not working -
<c:if test="${!Test.isMonitoringStarted}" >
<a herf="#">Test</a>
</c:if>
Please help me. Thanks in advance.