If

<%-- Declare the core library --%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>

<%-- Simple  conditions --%>
<c: test='${param.p == "someValue"}'>
    Generate this template text  p equals someValue
</c:>

<c: test='${param.p}'>
    Generate this template text  p equals "true"
</c:>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.