login

JSP Standard Tag Library - JSTL

JSP Standard tag library or JSTL provides JSP authors a better way to make the JSP page cleaner and more friendly. JSTL likes HTML tags is XML based tags therefore it is very familiar to the JSP authors who are working with (X)HTML intensively. In this section, we provides you a series of JSTL tutorials which you can learn it from the beginning by going through the practical examples.

Introducing to JSTL

Provides you the brief introduction of the JSP standard tag library - JSTL

Outputing with c:out action

In this tutorial, you will learn the most basic JSTL action c:out which is used to output variable or expression.

Working with Variables

In this tutorial, you will learn how to work with variable in JSP by using c:set and c:remove actions.

Using JSTL Conditionals

JSTL provides all basic conditionals to make the logic flow of JSP page easier to read and maintain.

JSTL Looping and Iteration Actions

In this tutorial, we show you how to use looping and iteration actions in JSTL by using c:foreach and c:forTokens

JSTL - Working with URL-Related Actions

JSTL provides a list of URL-related action when you deal with URL such as importing URL,rewriting URL and redirect URL.

Formatting Number with fmt:formatNumber Action

In this tutorial, you will learn how to print number with <fmt:formatNumber> action.

Formatting Date Time with fmt:formatDate Action

JSTL provides an action called <fmt:formatDate> to allowsyou to print date (and time) in different locale and format.