Writing Custom Tags
In Chapter 5, “JSTL,” you learned how to use custom tags in JSTL. The libraries in JSTL provide tags for solving common problems, but if your problems are not so common, you will have to write your own custom tags by extending a member of the javax.servlet.jsp.tagext package. This chapter teaches you how.
Custom Tag Overview
Using JSP standard actions to access and manipulate JavaBeans was the first attempt to allow separation of presentation (HTML) and business logic implementation (Java code). However, standard actions were not powerful enough that using them alone developers would often still have to resort to Java code in JSP pages. For example, standard actions cannot be used to iterate over a collection ...