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:
JavaBeans and the new JSP Expression Language (JSP EL)
The JavaServer Pages Standard Tag Library (JSTL) and coding custom tag libraries
Session and state management
Design patterns, including Struts
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.