JSTL Core c:remove Tag

java-ee-thumbnail

The <c:remove> tag is used to remove the variable from the specified scope. If we want to remove the variable from the scope we need to specify the scope if we not specify the scope then it will remove the variables from all scopes. Syntax For <c:remove> Tag Attributes of <c:remove> Tag var: This attribute […]

JSTL Core c:import Tag

java-ee-thumbnail

The <c:import> tag is used to include the content of another resource in the current JSP. The resource can be either static or dynamic. The <c:import> tag works like the but it is more flexible and powerful. The syntax of <c:import> tag is as follows The attributes of <c:import> Tag url: This is the major […]

JSTL Core c:choose, c:when, c:otherwise Tags

java-ee-thumbnail

JSTL Core <c:choose> Tag The <c:choose> tag of JSP core tag library is used for conditional execution of statement. The choose tag is used to construct an <c:if> statement. The <c:choose> tag acts like a java switch statement. The <c:choose> tag executes the conditional block statements which is embedded with the sub-tags <c:when> and <c:otherwise>. […]

JSTL Core c:if Tag

java-ee-thumbnail

The <c:if> tag is the most useful of tags of JSTL core tag library. This tag evaluates an expression and displays its body content only if the expression is true. This tag allows test for condition, condition like checking for particular parameters in requestScope, sessionScope or pageScope. Syntax For c:if Tag Attribute In c:if Tag […]

JSTL Core c:catch Tag

java-ee-thumbnail

<c:catch> tag is used to handle the exceptions that can be raised by any of the tag which are located inside the body of the tag. The tag <c:catch> is member of core tag library of jstl. The <c:catch> tag catches any throwable that occurs in the body of the tag. This tag is used […]

JSTL Core c:out Tag

java-ee-thumbnail

The <c:out> tag is used to print or display the result of an expression. This tag is also used for getting output for the user. It works like expression tag in jsp <%=…..%>. This uses the simpler notation as “.” to access properties. Syntax of <c:out> tag Attributes used for <c:out> tag Value: This attribute […]

JSTL Core c:set Tag

java-ee-thumbnail

The <c:set> tag is general purpose tag which allows to set the value of a variable or property into the given scope. Using this tag we can set the property of bean and also we can set the values of map. This tag sets the result of an expression evaluation based on the value of […]

JSTL Core Tags Library

java-ee-thumbnail

The Core tag library is the collection of the JSTL core tags in the JSP pages. These tags are used for manipulating data in JSP pages. This is used for iterating on data collection, setting parameter etc. The Syntax for the JSTL Core Tag Prefix c is used to refer to this tag in the […]

What is JSTL Tags and How to Setup?

java-ee-thumbnail

JSTL stand for JavaServer Pages Standard Tag Library. JSTL provides a framework for integrating custom tags with JSTL tags. The goal of JSTL is to minimize or, if possible, eliminate actual Java code introduced through JSP. JSTL is a collection of very useful core tags and functions. These tags and functions will help you write JSP […]