O'Reilly logo

Sams Teach Yourself JavaServer Pages™ in 21 Days by Steven Holzner

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

Chapter 9. Using Custom JSP Tags

Welcome to Day 9! Today you're going to start learning how to create your own custom JSP tags. So far, you've used the built-in tags in JSP, like <% ... %> or <jsp:getProperty>. Today, you'll start going beyond that and begin creating your own JSP tags—and connecting Java code to those tags. Here are today's topics:

  • Understanding and installing custom JSP tags

  • Using the available Jakarta tag libraries

  • Using the Request tag library in depth

  • Creating a simple tag

  • Creating tag descriptor files

  • Installing tag libraries using web.xml

  • Writing Java code for a simple tag

  • Using the simple tag you've created

You'll see what custom tag libraries are available already, and how to put one of them—the Jakarta Request tag library—to work. ...

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