O'Reilly logo

Core JSTL: Mastering the JSP™ Standard Tag Library by David M. Geary

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. Database Actions

Topics in This Chapter

  • Overview

  • A Simple Database

  • How JSTL Locates Data Sources

  • Creating Data Sources

  • Querying a Database

  • Updating a Database

  • Executing Database Transactions

  • Implementing Database Custom Actions

The vast majority of commercial websites are driven by relational databases. Because databases are so pervasive on the Web, JSTL provides a set of actions for database connectivity and access. The central theme of this chapter is how you can make the most of those actions.

First however, a cautionary note. Most often, it's desirable to separate presentation logic from business logic; for example, many Web applications are implemented with the Model-View-Controller (MVC) architecture, where business components manipulate ...

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