JSTL Functions allow to do common tasks like searching for a string in another string, checking whether a particular string starts or ends with a specified string or finding out an index of a string within another string etc. To use JSTL Functions we need to include JSTL Functions tag library in our JSP as shown below:
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>The following section discusses about JSTL Functions in details along with working examples.The sample Eclipse project contains all the working code examples from this article. If you have downloaded and deployed the JSTL-Functions-Reference .war file, the starting point would have been index.jsp. You can access the index.jsp by the URL http://localhost:8080/JSTL-Functions-Reference/index.jsp assuming you’ve deployed the .war file to a container like Tomcat.


 Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He began programming with Java back in the days of Java 1.4 and has been passionate about it ever since. You can connect with him on Facebook and watch his Java videos on YouTube.
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He began programming with Java back in the days of Java 1.4 and has been passionate about it ever since. You can connect with him on Facebook and watch his Java videos on YouTube.