by Dinesh Thakur Category: Directive tags

In this example we will explain about ElAttribute EL(Expression Language). As jsp used all the Expressions that are linked with EL attributes by default. Bt if user need to ignore them manually user has to change page directive ‘true’.


This is the main concept which we are discussing ignoring the ElExpressions. In the program that we present the condition is to concat the two strings with each other bt when in the program page directive will true it will ignore the expression of jsp function. The page directive has to be false that is by default in the jsp attribute. And we also use concat function in the program so far….

<%@ page isELIgnored="false" %>

<%@ taglib uri="" prefix="c" %>



         <title>&lt;isELIgnored&gt; In JSP</title>



        <br><h3 align="center">The Demo Of "isELIgnored Attribute" In JSP</h3></br>

        <c:set var="jsp1" value="Jakarta"/>

        <c:set var="jsp2" value="java"/>


        <c:when test="${jsp1 eq 'Jakarta'}">

        <c:set var="concat" value="${jsp1}${jsp2}" />

        <h3 align="center"><br><c:out value="${concat}"></h3></br></c:out>



            <h3 align="center">"${jsp1}"</h3>





           Jsp ElIgnored Example

           Jsp ElIgnored Example

About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.