Monthly Archive: October 2013

JSTL formatNumber Tag <fmt:formatNumber>

JSTL formatNumber tag is used to change the format of numbers or currency. JSTL formatNumber Example: To display the numbers on JSP in proper format, you can use the <fmt:formatNumber> tag like this: <%@ taglib …

JSTL Redirect Tag <c:redirect>

JSTL Redirect tag is used to redirect the request to another resource. The <c:redirect> tag redirects the browser to an alternate URL by providing automatically URL rewriting, it supports context-relative URLs, and it supports the …

JSTL url Tag <c:url>

JSTL URL tag is used to format and save url in a variable to use it at later stage. The <c:url> tag formats a URL into a string and stores it into a variable. This …

JSTL param Tag <c:param>

JSTL Param Tag is used to pass the parameters to the url. The <c:param> tag allows proper URL request parameter to be specified with URL and it does any necessary URL encoding required. Within a …

JSTL forTokens Tag <forTokens>

JSTL forTokens tag is used to iterate over the tokens separated by delimiters. JSTL forTokens tag is another tag in core JSTL library to support Iteration or looping. It effectively complements, more useful <c:forEach> tag, …

JSTL forEach Tag <c:forEach>

JSTL forEach tag is used to iterate over the collection. It can be List, Set, ArrayList, HashMap or any other collection. These tags exist as a good alternative to embedding a Java for, while, or …