JSTL Archive
JSTL forEach tag is used to iterate over the collection. It can be List, Set, ArrayList, HashMap or any other collection. These tags exist as a good alternative to embedding a Java for, while, or …
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 …
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 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 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 …
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 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 …