Javatpoint Logo
Javatpoint Logo

JSTL Core <c:forTokens> Tag

The < c:forTokens > tag iterates over tokens which is separated by the supplied delimeters. It is used for break a string into tokens and iterate through each of the tokens to generate output.

This tag has similar attributes as < c:forEach > tag except one additional attributes delims which is used for specifying the characters to be used as delimiters.

Let's see the simple example of < c:forTokens > tag:

Output:

JSTL Core Tags8




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA