Servlets and JSP: The J2EE Web Tier
Jayson Falkner, Kevin W. Jones
Servlets and JavaServer Pages™ is the first complete guide to building dynamic Java-based Web applications using the new JavaServer Pages 2.0 and Servlets 2.4. Servlets and JavaServer Pages (JSP) provide a robust solution to developing large, complex Web applications, including multiserver projects. In addition to built-in security, portability, and a Web server, they offer developers the freedom to work with any operating system that supports Java—be it Linux, Windows, OSX, or Solaris.
This authoritative book begins by explaining how to set up a Servlet and JSP development environment, including a discussion of containers, Java support, and installing and configuring Tomcat. The authors then thoroughly explore servlets and JSP, including significant coverage of custom tag libraries, newly available filters, and popular servlet and JSP design patterns. Readers can then test-drive the knowledge gained by constructing a book-support Web site.
Among the topics covered in-depth are:
- Exception handling
- JavaBeans and the new JSP Expression Language (JSP EL)
- The JavaServer Pages Standard Tag Library (JSTL) and coding custom tag libraries
- Error handling
- Session and state management
- Design patterns, including Struts
- Multiclient support
- Database connectivity
The actual book-support site (www.jspbook.com) features frequently asked questions, working code examples, and references.
With Servlets and JavaServer Pages™ as their guide, readers will learn how to fully harness the power of these flexible Java technologies.
Table of Contents
1. Setting up a Servlet and JSP Environment.
2. Java Servlets.
3. JavaServer Pages.
4. Exception Handling.
6. Custom Tag Libraries.
7. JavaServer Pages Standard Tag Library.
9. Managing State in a Web Application.
11. Design Patterns.
13. Multi-Client Support.
14. Database Connectivity.
References: Charsets(i18n?), web.xml Schema, TLD.