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: <

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

Syntax: <

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

Syntax: <

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

Syntax: <

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

Syntax: <  

JSTL (JSP Standard Tag Library) tutorial:

Custom tags tutorial:

Please follow and like us:
Content Protection by DMCA.com