1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
<html><!-- #BeginTemplate "/Templates/ExamplesTemplate.dwt" -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>JSTL: Functions Tags Examples</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../global.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellpadding="5">
<tr>
<td height="0"><font color="#000099"><b>standard taglib • implementation
of the JSP Standard Tag Library • </b></font><font color="#003399"><a href="mailto:taglibs-user@jakarta.apache.org"><b>support</b></a>
<b><a href="mailto:taglibs-dev@jakarta.apache.org">development</a>
<a href="mailto:jsr-52-comments@jcp.org">comments to JSR-52</a></b></font></td>
</tr>
<tr>
<td bgcolor="#CCCCFF"><font size="-1">Examples <a href="../index.html">Introduction</a>
• <a href="../elsupport/index.html">General Purpose</a>
• <a href="../conditionals/index.html">Conditionals</a>
• <a href="../iterators/index.html">Iterators</a> •
<a href="../import/index.jsp">Import</a> • <a href="../format/index.html">I18N
& Formatting</a> • <a href="../xml/index.html">XML</a>
• <a href="../sql/index.jsp">SQL</a> • <a href="index.html">Functions</a>
• <a href="../tlv/index.html">TLV</a> • <a href="index.html"></a><a href="../misc/index.html">Misc.</a></font></td>
</tr>
</table>
<!-- #BeginEditable "body" -->
<h2>Functions Examples</h2>
<h3>Length of a Collection or a String <a href="../ShowSource.jsp?filename=/functions/Length.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="Length.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>length</code><br>
<h3>String Capitalization <a
href="../ShowSource.jsp?filename=/functions/StringCapitalization.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="StringCapitalization.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>toUpperCase toLowerCase</code><br>
<h3>String Subset <a
href="../ShowSource.jsp?filename=/functions/StringSubset.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="StringSubset.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>substring substringAfter substringBefore</code><br>
<h3>Trim <a
href="../ShowSource.jsp?filename=/functions/Trim.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="Trim.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>trim</code><br>
<h3>Replace <a
href="../ShowSource.jsp?filename=/functions/Replace.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="Replace.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>replace</code><br>
<h3>Substring Contained in String <a
href="../ShowSource.jsp?filename=/functions/SubstringContained.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="SubstringContained.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>contains containsIgnoreCase startsWith endsWith indexOf</code><br>
<h3>Split/Join <a
href="../ShowSource.jsp?filename=/functions/SplitJoin.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="SplitJoin.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>split join</code><br>
<h3>EscapeXml <a
href="../ShowSource.jsp?filename=/functions/EscapeXml.jsp"><img src="../images/code.gif" width="24" height="24" border="0"></a>
<a href="EscapeXml.jsp"><img src="../images/execute.gif" width="24" height="24" border="0"></a>
</h3>
<code>escapeXml</code><br>
<!-- #EndEditable -->
<hr noshade color="#000099">
<table width="100%" border="0" cellpadding="5">
<tr>
<td height="24"><font color="#000099"><b>standard taglib • implementation
of the JSP Standard Tag Library • </b></font><font color="#003399"><a href="mailto:taglibs-user@jakarta.apache.org"><b>support</b></a>
<b><a href="mailto:taglibs-dev@jakarta.apache.org">development</a>
<a href="mailto:jsr-52-comments@jcp.org">comments to JSR-52</a></b></font></td>
</tr>
</table>
</body>
<!-- #EndTemplate --></html>
|