November 2003
Intermediate to advanced
1488 pages
36h 35m
English
Implementing Java classes called tag handler classes creates JSP tags. Tag handler classes implement one of two interfaces:
javax.servlet.jsp.tagext.Tag or javax.servlet.jsp.tagext.BodyTag. The Tag interface is implemented for simple JSP tags—those JSP tags without an accompanying tag body. Simple JSP tags are also referred to as empty body tags. The BodyTag interface implements tags with an accompanying tag body. Tags can also be implemented by using the abstract class javax.servlet.jsp.tagext.TagSupport or javax.servlet.jsp.tagext.BodyTagSupport. Use of these classes enables the developer to avoid implementing methods that aren't used.
Once the tag handler is implemented, the tag library descriptor ...
Read now
Unlock full access