This function uses to converts the string in lower case from upper case.

    This function will convert all the string into lower case from uppercase. First in the program we declare syntax of library function. After that we declare the variables that contain the value that is been given in it. After declaring the function as required we close all the custom tags of Html In the last instance.

fn:toLowerCase.jsp

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<html>

<head>

       <title>&lt;fn:toLowerCase&gt; IN JSTL</title>

</head>

   <body>

       <center><h3>Example of Lower Case Function In JSTL</h3></center>

      <c:set var="str1" value="Welcome To Java Server Pages World."/>

      <c:set var="str2" value="${fn:toLowerCase(str1)}" />

      <p><b><center><p>String After Lower Casing -: ${str2}</p>

   </body>

</html>

        JSTL fn:toLowerCase() Function





About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.