O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required