JSTL fn:contains() function
The JSTL fn:contains() function is used to check whether the input string contains the specified string or not. It returns true if input string contains the specified string otherwise return false. It is case sensitive. Syntax: boolean contains(String inputString, String specifiedString) Example: test.jsp <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <html> … Read more