✓ JSTL
tag displays the result of an expression.
Example :
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
Core Tage Example
Output : Jaladhi Soft Technology (JST)
<c:import> : The tag is used for importing the content from another file (or) page to the current JSP page.
Example :
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
Core Tag Example
Output : Jaladhi Soft Technology (JST)
<c:set> : The tag is used for assigning a value to an object or variable within a specified scope.
Example :
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
Tag Example
Output : 6000
<c:remove> : The tag is used for removing an attribute from a specified scope or from all scopes (page, request, session and application).
Example :
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>
Core Tag Example
Output :
Before Remove Value: 6000
After Remove Value:
JSTL stands for JSP Standard Tag Library which is a collection of very useful core tags and functions. These tags and functions will help you write JSP code efficiently. JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and SQL tags. It also provides a framework for integrating the existing custom tags with the JSTL tags.
✓ Types of JSTL Tags- JSTL SQL Tags
- JSTL XML Tags
- JSTL Core Tags
- JSTL Functions Tags
- JSTL Formatting Tags
Example :
Output : Jaladhi Soft Technology (JST)
<c:import> : The
Example :
Output : Jaladhi Soft Technology (JST)
<c:set> : The
Example :
Output : 6000
<c:remove> : The
Example :
Before Remove Value:
After Remove Value:
Before Remove Value: 6000
After Remove Value: