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
- Filters
- Error handling
- Session and state management
- Security
- Design patterns, including Struts
- Internationalization
- 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
Preface.
1. Setting up a Servlet and JSP Environment.
2. Java Servlets.
3. JavaServer Pages.
4. Exception Handling.
5. JavaBeans.
6. Custom Tag Libraries.
7. JavaServer Pages Standard Tag Library.
8. Filters.
9. Managing State in a Web Application.
10. Security.
11. Design Patterns.
12. Internationalization.
13. Multi-Client Support.
14. Database Connectivity.
15. Finale.
References: Charsets(i18n?), web.xml Schema, TLD.