* tld 파일 예제
<?xml version="1.0" encoding="UTF-8"?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" version="2.0">
<tlib-version>1.2</tlib-version>
<uri>frameone</uri>
<tag>
<description>포맷에 맞게 날짜를 표시한다.</description>
<name>dateFmt</name>
<tag-class>xx.xxx.xxxxx.DateFormatTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>infmt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue><!-- JSP Expression, EL 등의 허용여부 -->
</attribute>
<attribute>
<name>outfmt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>SSL URL 생성</description>
<name>sslUrl</name>
<tag-class>
xx.xxx.xxxxx.SSLUrlTag</tag-class>
<body-content>JSP</body-content>
</tag>
</taglib>
* 참고링크
[JSP] 커스텀태그
커스텀태그(custom tag) 기본 설명
jsp 커스텀태그(custom tag)의 생명주기(life cycle) 및 doStartTag(), doEndTag()의 차이점 등