Servlet & JSP: A Tutorial

  • 4h 30m
  • Budi Kurniawan
  • Brainy Software Corp.
  • 2012

Servlet and JavaServer Pages (JSP) are the underlying technologies for developing web applications in Java. They are essential for any programmer to master in order to effectively use frameworks such as JavaServer Faces, Struts 2, or Spring MVC.

Covering Servlet 3.0 and JSP 2.2, this book explains the important programming concepts and design models in Java web development as well as related technologies and new features in the latest versions of Servlet and JSP. With comprehensive coverage and a lot of examples, this book is a guide to building real-world applications. Topics discussed in this book include:

  • The Servlet API
  • JSP syntax and scripting elements.
  • Session management
  • The Expression Language
  • JavaServer Pages Standard Tag Library (JSTL)
  • Custom tags and tag files
  • Filters and listeners
  • Application design
  • Connection pooling
  • Dependency injection
  • File upload and programmatic file download
  • Asynchronous processing
  • Security
  • Deployment and the deployment descriptor
  • Dynamic registration
  • Servlet container initializers

About the Author

Budi Kurniawan is a senior architect at and the author of AJAX Programming with Java; Flash Development with OpenLaszlo; How Tomcat Works; Java for the Web with Servlets, JSP, and EJB; and Struts Design and Programming. He has published more than 100 articles and written software that is licensed by major corporations worldwide.

In this Book

  • Servlets
  • Session Management
  • JavaServer Pages
  • The Expression Language
  • JSTL
  • Writing Custom Tags
  • Tag Files
  • Listeners
  • Filters
  • Application Design
  • File Upload
  • File Download
  • Decorating Requests and Responses
  • Asynchronous Processing
  • Security
  • Deployment
  • Dynamic Registration and Servlet Container Initializers
  • Introduction to Struts 2