Book Image

Java EE 5 Development with NetBeans 6

Book Image

Java EE 5 Development with NetBeans 6

Overview of this book

Table of Contents (17 chapters)
Java EE 5 Development with NetBeans 6
Credits
About the Author
About the Reviewers
Preface
Identifying Performance Issues with NetBeans Profiler

Chapter 3. Enhancing JSP Functionality with JSTL and Custom Tags

In the previous chapter, we covered how to write applications using Servlets and JSPs using NetBeans. In this chapter we will see how NetBeans allows us to easily use the JSP Standard Tag Library (JSTL) to build JSPs that are readable and maintainable, by relying less on JSP scriptlets.

Topics covered in this chapter include:

  • NetBeans support for Core JSTL tags that, among other things, allow us to implement conditional logic and loops in JSPs without resorting to scriptlets

  • NetBeans support for SQL JSTL tags that allow us to insert, retrieve, or update data in a relational database

  • Using NetBeans to create JSP tags that can help us create more maintainable JSPs by abstracting common markup into a single file

JSTL allows us to add functionality to our pages without having to rely on scriptlets, which tend to create pages that are hard to maintain.

Core JSTL tags allow us to control how pages are displayed, for example, conditionally...