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. 1. Code reusability.
  2. 2. Scriplet tags are not needed.

Types of JSTL tags:

  1. 1. JSTL Core Tags
  2. 2. JSTL Formatting tags
  3. 3. JSTL SQL tags
  4. 4. JSTL XML tags
  5. 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=”http://java.sun.com/jsp/jstl/core” prefix=”c”%>

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

Syntax: <%@ taglib uri=”http://java.sun.com/jsp/jstl/fmt” prefix=”fmt”%>

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

Syntax: <%@ taglib uri=”http://java.sun.com/jsp/jstl/sql” prefix=”sql”%>

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

Syntax: <%@ taglib uri=”http://java.sun.com/jsp/jstl/xml” prefix=”x”%>

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

Syntax: <%@ taglib uri=”http://java.sun.com/jsp/jstl/functions” prefix=”fn” %>
 

JSP tags tutorial:

JSTL (JSP Standard Tag Library) with example.
Jstl tutorial point. Jstl tutorial for beginners with examples. jsp standard tag library tutorial examples.
JSTL Core Tags with example.
jstl core tags. jstl core tags tutorial. jstl core tags examples. Core tags in jsp examples download.
JSTL c:out Core Tag with example.
jstl c out tag. c out tag in jstl example. jstl tag c out example. jstl c out tag example.
JSTL c:set Core Tag with example.
jstl c set tag. c set tag in jstl example. jstl tag c set example. jstl c set tag example.
JSTL c:remove Core Tag with example.
jstl c remove tag. c remove tag in jstl example. jstl tag c remove example. jstl c remove tag example.
JSTL c:catch Core Tag with example.
jstl c catch tag. c catch tag in jstl example. jstl tag c catch example. jstl c catch tag example.
JSTL c:if Core Tag with example.
jstl c if tag. c if tag in jstl example. jstl tag c if example. jstl c if tag example.
JSTL c:choose , c:when and c:otherwise Core Tags with example.
jstl c choose c when c otherwise tag example. c choose c when c otherwise tag in jstl example. jstl tag c choose c when c otherwise example.
JSTL c:import Core Tag with example.
jstl c import tag example. c import tag in jstl example. jstl tag c import example. jstl c import tag example.
JSTL c:forEach Core Tag with example.
jstl c forEach tag example. c forEach tag in jstl example. jstl tag c forEach example. jstl c forEach tag example.
JSTL c:forTokens Core Tag with example.
jstl c forTokens tag example. c forTokens tag in jstl example. jstl tag c forTokens example. jstl c forTokens tag example.
JSTL c:url Core Tag with example.
jstl c url tag example. c url tag in jstl example. jstl tag c url example. jstl c url tag example.
JSTL c:param Core Tag with example.
jstl c param tag example. c param tag in jstl example. jstl tag c param example. jstl c param tag example.
JSTL c:redirect Core Tag with example.
jstl c redirect tag example. c redirect tag in jstl example. jstl tag c redirect example. jstl c redirect tag example.
JSTL Formatting Tags with example.
jstl formatting tags. jstl formatting tags tutorial. jstl formatting tags example. fmt tag in jstl examples. Formatting tags in jsp.
JSTL fmt:formatNumber Formatting Tag with example.
jstl fmt formatnumber. jstl fmt formatnumber pattern example. fmt formatnumber pattern example. formatnumber in jstl examples.
JSTL fmt:parseNumber Formatting Tag with example.
jstl fmt parseNumber. jstl fmt parseNumber pattern example. fmt parseNumber pattern example. parseNumber in jstl examples.
JSTL fmt:formatDate Formatting Tag with example.
jstl fmt formatDate. jstl fmt formatDate pattern example. fmt formatDate pattern example. formatDate in jstl examples.
JSTL fmt:parseDate Formatting Tag with example.
jstl fmt parseDate. jstl fmt parseDate pattern example. fmt parseDate pattern example. parseDate in jstl example.
JSTL fmt:bundle Formatting Tag with example.
jstl fmt bundle example. jstl fmt message bundle example. fmt message bundle example. Resource bundle in jsp using jstl.
JSTL fmt:setBundle Formatting Tag with example.
jstl fmt setbundle. jstl fmt setbundle example. fmt message in jstl example.
JSTL fmt:setLocale Formatting Tag with example.
jstl fmt setLocale. jstl fmt setLocale example. fmt setLocale in jstl example.
JSTL fmt:timeZone Formatting Tag with example.
jstl fmt timeZone. jstl fmt timeZone example. fmt timeZone in jstl example.
JSTL fmt:setTimeZone Formatting Tag with example.
jstl fmt setTimeZone. jstl fmt setTimeZone example. fmt setTimeZone in jstl example.
JSTL fmt:requestEncoding Formatting Tag with example.
jstl fmt requestEncoding. jstl fmt requestEncoding example. fmt requestEncoding in jstl example.
JSTL Functions with example.
jstl functions examples. jstl fn tag example. jstl functions tags. jstl functions tags examples.
JSTL fn:contains() function with example.
jstl fn contains. jstl fn contains example. jstl functions contains tutorial. jstl functions contains example.
JSTL fn:containsIgnoreCase() function with example.
jstl fn containsIgnoreCase. jstl fn containsIgnoreCase example. jstl functions containsIgnoreCase tutorial. jstl functions containsIgnoreCase example.
JSTL fn:startsWith() function with example.
jstl fn startsWith. jstl fn startsWith example. jstl functions startsWith tutorial. jstl functions startsWith example.
JSTL fn:endsWith() function with example.
jstl fn endsWith. jstl fn endsWith example. jstl functions endsWith tutorial. jstl functions endsWith example.
JSTL fn:escapeXml() function with example.
jstl fn escapeXml. jstl fn escapeXml example. jstl functions escapeXml tutorial. jstl functions escapeXml example.
JSTL fn:indexOf() function with example.
jstl fn indexOf. jstl fn indexOf example. jstl functions indexOf tutorial. jstl functions indexOf example.
JSTL fn:join() and fn:split() function with example.
jstl fn join example. jstl functions join example. jstl fn split example. jstl functions split example.
JSTL fn:length() function with example.
jstl fn length. jstl fn length example. jstl functions length tutorial. jstl functions length example.
JSTL fn:replace() function with example.
jstl fn replace. jstl fn replace example. jstl functions replace tutorial. jstl functions replace example.
JSTL fn:subString() function with example.
jstl fn subString. jstl fn subString example. jstl functions subString tutorial. jstl functions subString example.
JSTL fn:subStringAfter() function with example.
jstl fn subStringAfter. jstl fn subStringAfter example. jstl functions subStringAfter tutorial. jstl functions subStringAfter example.
JSTL fn:subStringBefore() function with example.
jstl fn substring before. jstl fn substring before example. jstl functions substring before tutorial. jstl functions substring before example.
JSTL fn:toLowerCase() function with example.
jstl fn tolowercase. jstl fn tolowercase example. jstl functions tolowercase tutorial. jstl functions tolowercase example.
JSTL fn:toUpperCase() function with example.>/br>jstl fn toUpperCase. jstl fn toUpperCase example. jstl functions toUpperCase tutorial. jstl functions toUpperCase example.
JSTL fn:trim() function with example.
jstl fn trim. jstl fn trim example. jstl functions trim tutorial. jstl functions trim example.

 
Next Topic: JSTL Core Tags with example.
Previous Topic: JSP Expression Language with example.

Related topics:

JSTL (JSP Standard Tag Library) with example.
JSTL Core Tags with example.
JSTL Formatting Tags with example.
JSTL Functions with example.
Steps to create Custom tags with body in jsp with example.
Custom tag with attributes.