JSTL Archive
The <fmt:formatDate> tag is used to format dates in a variety of ways. This tag is used to format date and time according to the user supplied style and format. Attributes of the tag <fmt:formatDate> value …
JSTL Parse Number tag is used to parse the numbers, percentage or currency. JSTL Parse Number Example: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> <html> <head> <title>JSTL Parse Number Example</title> </head> <body> …
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 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 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 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 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, …