The <fmt: formatNumber> tag is used to formatting the number data such as formatting numbers , currencies and percentages according to the customized formatting pattern. The Syntax Of <fmt: formatNumber> Tag Attributes of <fmt: formatNumber> Tag maxFractionDigitsSpecifies the maximum number of digits in fractional portion. Attributes Description value Specifies the numeric value that has to …
JSTL Tutorials
JSTL Tutorials
Java Server Pages (JSP) Standard Tag Library (JSTL) is collection of custom tags bundled as library to provide the useful functionality without re-implementation from the developers. There are different set of libraries under JSTL. Those are classified as: Core Tags Formatting tags SQL tags XML tags JSTL Functions This page lists all the tutorials for …
JSTL Format fmt:setBundle Tag
The <fmt:setBundle> tag is used to creates a ResourceBundle and stores the ResourceBundle object into the given variable and scope. The Syntax Of <fmt:setBundle> Tag Attributes Of <fmt:setBundle> Tag Attributes Description basename Specifies the resource bundle name with the package name. var Specifies the variable name to store new ResourceBundle. scope The Scope into which …
JSTL Format fmt:setLocale Tag
The <fmt:setLocale> is used to store the given locale in the locale configuration variable of the given scope or the class. The Syntax Of <fmt:setLocale> Tag Attributes Of <fmt:setLocale> Tag Attributes Description Value It is used to specify the locale name in lower case or in upper case. This value name should be as same …
JSTL Format fmt:parseDate Tag
The <fmt: parseDate> tag is used to parse and format the date and time according to the customized formatting pattern. Syntax Of <fmt: parseDate> Tag Attributes Of <fmt: parseDate> Tag Attributes Description value Specifies date or time to be parsed. type Specifies the string date, time or both to be parsed. dateStyle Specifies the style …
JSTL Format fmt:formatDate Tag
The <fmt: formatDate> tag is used to format the date and time according to the customized formatting pattern. The Syntax of the <fmt: formatDate> Tag Attributes of <fmt: formatDate> Tag Attributes Description value Specifies date or time to be formatted. type Specifies that either date or time or both should be formatted. dateStyle Specifies the …
JSTL Core c:url Tag
The <c:url> tag is used for url encoding and includes the session id if the user session needs to be maintained. Basically it is used to convert relative url into application context url. It performs url rewriting on need basis. Syntax Of <c:url> Tag Attributes Of <c:url> Tag Attributes Description value It is used to …
JSTL Formatting Tags Library
The JSTL Formatting tag is used to format and parse the data that can be data element, date, time or number. This tag library is used in a jsp page. It also provides the support for internationalization. Syntax – JSTL Formatting Tag The JSTL Formatting Tags <fmt: formatNumber>: The <fmt: formatNumber> tag is used to …