Integrating a Tag Library into a Web Application

We will begin by discussing the basics for integrating a tag library into our Web application; later in the chapter we will discuss how to create the tag library. An understanding of where tag libraries fit into the Web application structure introduced in Chapter 16, “Servlets,” and Chapter 17 will provide context to how the code that we develop applies to JSPs. For our discussion, we will assume that a tag library named chalktalktaglib has been developed consisting of two custom XML tags implementing the functionality needed by our chalktalkweb Web application.

For a JSP to use the tag library as a resource for our Web application, four elements need to be set up:

  • Deployment of the tag library ...

Get Borland® JBuilder™ Developer’s Guide 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.