Web Development with JavaServer Pages, Second Edition
Duane K. Fields, Mark A. Kolb, and Shawn Bayern
  • November 2001
  • ISBN 9781930110120
  • 800 pages

The second edition of the bestselling Web Development with JavaServer Pages updates and expands the original. In the entirely rewritten first part of the book the authors provide a gentle introduction to the important technologies on which JSP depends. The book then launches into its updated coverage of the JSP 1.2 and Servlet 2.3 standards. New chapters on servlet filters, tag-library validation, and non-HTML content are filled with fresh examples.

Table of Contents show full

1. Introduction

2. HTTP and servlets

3. First steps

4. How JSP works

5. Programming JSP scripts

6. Actions and implicit objects

7. Using JSP components

8. Developing JSP components

9. Working with databases

10. Architecting JSP applications

11. An example JSP project

12. Introducing filters and listeners

13. Applying filters and listeners

14. Deploying JSP applications

15. Performing common JSP tasks

16. Generating non-HTML content

17. JSP by example

18. Creating custom tags

19. Implementing advanced custom tags

20. Validating custom tag libraries

Appendix A: Changes in the JSP 1.2 API

Appendix B: Running the reference implementation

Appendix C: Incorporating Java applets

Appendix D: JSP resources

Appendix E: JSP syntax reference

Appendix F: JSP API reference

About the book

This second edition shares the strengths of the first, based on the authors' substantial experience with real-world development. The book covers the complete feature set of JSP 1.2, and both the advantages and the "gotchas" associated with those features. Its depth of coverage has been an important contributor to this book's success.

You'll learn how to use databases in web applications, how to separate the look of a web page from its underlying business logic, and even how to design elegant and scalable application architectures. You can learn from and modify the many examples to get up to speed quickly. And you will develop a deep understanding of JSP technology.

What's inside

  • HTTP and Java Servlets
  • Dynamic web scripting
  • Tag-based JSP programming
  • Custom tags
  • JSP components
  • Servlet- and page-centric application designs
  • Working with databases
  • Servlet filters
  • JSP for non-HTML content
  • Tons of examples and real code

About the authors

A web applications developer and Internet technologist, Duane K. Fields is an expert in the design and development of leading edge Internet applications. He lives in Austin, Texas.

Mark A. Kolb, Ph.D., is a reformed rocket scientist who currently focuses on system architectures for distributed web-based applications. Mark lives in Round Rock, Texas.

Shawn Bayern, a research programmer at Yale University, is the reference-implementation lead for the upcoming JSPTL standard. Shawn lives in New Haven, CT.