O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

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

Review of JSP Tag Libraries

The Struts tag libraries are nothing more than a specialized set of JSP custom tags. JSP custom tags are a fundamental part of JSP development in general. Some of the advantages of using tag libraries are

  • They enable you to extend and customize JSP functionality

  • They provide a way to avoid using Java scriptlets in your programs by enabling you to embed Java code inside a custom tag

  • They make it easier for non-Java coders to maintain JSP files because understanding how to use a tag is easier than understanding scriptlets

JSP custom tags are created by writing Java code that implements the Tag or BodyTag interface (defined in the package javax.servlet.jsp.tagext).

JSP custom tag development involves three basic steps: ...

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