O'Reilly logo

Borland® JBuilder™ Developer’s Guide by Jeff Swisher, Saleem Siddiqui, Michael Landy

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

In Practice

Now that we have looked at what tag libraries are and how they work, let’s create a tag library that encapsulates some of the application logic of the ChalkTalk application.

The chalktalkweb application from Chapter 17 used two JSPs as the user interface, while using a servlet to process the login/logout functions. The logic for retrieving the course listing was embedded into the JSP. We will create several custom tags as part of the ChalkTalk tag library for retrieving and displaying the course listing and a couple of other functions. This allows us to pull most of the Java code out of the JSPs and demonstrates how to create a tag library using JBuilder.

We will create our Custom Tag library to be deployed as a set of files rather ...

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