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:


JSTL Core Tags8

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA