In the previous two day's chapters, you have learned about J2EE Web applications written using servlets and JSPs. You have seen how servlets are most useful when complex Java programming is needed and JSPs are easier to use when the generated Web page requires large amounts of HTML (or JavaScript). However, JSPs are essentially static in nature and require the developer to write Java code, in the form of scriptlets, to support complex features.
JSP Tag Libraries (TagLibs) are a natural extension to the JSP tag syntax. TagLibs are custom tags that are written in Java but interact with the processing of the tags on the JSP page. In this chapter, you will learn how to
18.116.36.194