Monthly Archive: October 2013

JSTL – Import Tag <c:import>

JSTL Import tag is being used in JSP to include the content of other resource in the current JSP.  The <c:import> tag provides all of the functionality of the <include> action but also allows for …

JSTL Choose When Otherwise Tag

These tags are used as a conditional statement in JSP.  The <c:choose> works like a Java switch statement in that it lets you choose between a number of alternatives. Where the switch statement has case …

JSTL IF Tag <c:if>

JSTL c:if tag is used as a conditional statement in JSP. It is similar like If statement in JAVA. Based on condition evaluation within test attribute, if tag decides to run the code within JSTL …

JSTL Catch Tag <c:catch>

JSTL catch tag is used to catch the exception thrown at run time in JSP. The <c:catch> tag catches any Throwable that occurs in its body and optionally exposes it. Simply it is used for …

JSTL Remove Tag <c:remove>

Remove tag is being used in JSP to remove the variable from the scope.The <c:remove> tag removes a variable from either a specified scope or the first scope where the variable is found (if no …

JSTL Core <c:set> Tag

JSTL Set tag is used to create new variable and assign a value to new or existing variable. The <c:set> tag is JSTL-friendly version of the setProperty action. The tag is helpful because it evaluates …

JSTL Core <c:out> Tag

JSTL out tag is used to display information on JSP. It can also be used with properties of the bean. The <c:out> tag displays the result of an expression, similar to the way <%= %> …