Build Custom Tag Based On JSTL : URL « JSTL « Java Tutorial






<%@ taglib prefix="myTag" tagdir="/WEB-INF/tags" %>


<html>
<head>
<title>EL Type Conversion Examples</title>
</head>
<body>
<h1>EL Type Conversion Examples</h1>

<myTag:CharacterType val="this is it"/>
<myTag:CharacterType val="8"/>
<myTag:CharacterType val="3.0001"/>
<br/>
<myTag:DoubleType val=""/>
<myTag:DoubleType val="-3"/>
<br/>
<myTag:BooleanType val=""/>
<myTag:BooleanType val="true"/>
<myTag:BooleanType val="t"/>
<myTag:BooleanType val="3.1"/>


</body>
</html>
  Download:  JSTLBuildCustomTagBasedOnJSTL.zip( 1,024 k)








24.30.URL
24.30.1.Build URL with Parameters
24.30.2.Build Custom Tag Based On JSTL