JSTL functions
Function endsWith

boolean endsWith(java.lang.String, java.lang.String)
Tests if an input string ends with the specified suffix.

<c:if test="${fn:endsWith(filename, ".txt")}">

Function Information
Function Classorg.apache.taglibs.standard.functions.Functions
Function Signatureboolean endsWith(java.lang.String, java.lang.String)
Display NameNone

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.