Day 14. JSP Tag Libraries
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
Write simple custom tags
Understand the XML deployment ...
Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.