More on JSTL
More on JSTL
</form>
<c:if test=
"${fn:length(param.username) > 0}" >
<%@include file=
"response.jsp" %>
</c:if>
</body>
</html>
The rest of the JSTL functions are concerned with string manipulation:
toUpperCase
, toLowerCase: Changes the capitalization of a string
substring
, substringBefore, substringAfter: Gets a subset of a string
trim
: Trims white space from a string
replace
: Replaces characters in a string
indexOf
, startsWith, endsWith, contains, containsIgnoreCase: Checks whether a string
contains another string
split
: Splits a string into an array
join
: Joins a collection into a string
escapeXml
: Escapes XML characters in a string
Further Information about JSTL
For more information on JSTL, see:
The tag reference documentation:
The API reference documentation:
The JSTL 1.1 specification:
The JSTL web site:
Further Information about JSTL
Chapter 7 · JavaServer Pages Standard Tag Library
223