Easy learning with example program codes

JSTL (JSP Standard Tag Library)

JSTL stands for JSP Standard Tag Library. It provides the no. of tags used for iteration, condition checking, manipulating XML documents etc.

Advantages of JSTL:

  1. Code reusability.
  2. Scriplet tags are not needed.

Types of JSTL tags:

  1. JSTL Core Tags
  2. JSTL Formatting tags
  3. JSTL SQL tags
  4. JSTL XML tags
  5. JSTL Functions


1. JSTL Core Tags: These tags are used for iteration, condition checking, URL management etc. Core tags are most commonly used.

Syntax: <%@ taglib uri=”” prefix=”c”%>

2. JSTL Formatting tags: These tags are used for formatting the text, date, numbers etc.

Syntax: <%@ taglib uri=”” prefix=”fmt”%>

3. SQL tags: Theses tags are used for interacting with databases like Oracle, MySQL etc.

Syntax: <%@ taglib uri=”” prefix=”sql”%>

4. XML tags: These tags are used forcreating and manipulating XML documents.

Syntax: <%@ taglib uri=”” prefix=”x”%>

5. JSTL Functions: These function tags are mainly used for manipulating strings.

Syntax: <%@ taglib uri=”” prefix=”fn” %>

JSTL (JSP Standard Tag Library) tutorial:

Custom tags tutorial:

Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at


We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on

Copyright © 2019 CodesJava Protection Status SiteMap Reference: Java Wiki