Java Servlet & JSP Cookbook [PDF]

0
Java Servlet & JSP Cookbook
Java Servlet & JSP Cookbook

What’s in the Book

In creating the recipes for this book, I tried to cover as many common and advanced web development tasks as I could practically fit into one book. This amounts to about 230 different recipes. Each recipe shows how to implement a particular task using servlets, JSPs, and, in many cases, one or more supporting Java classes.

The recipes show how to:

  • Authenticate web clients
  • Interact with databases
  • Send email
  • Handle submitted data from a web form
  • Read and set “cookies”
  • Upload files from the client
  • Integrate JavaScript with servlets and JSPs
  • Embed multimedia files like digital movies and music in JSPs and servlets
  • Handle web clients whose users speak different languages (internationalization)
  • Log messages from servlets and JSPs
  • Dynamically include chunks of content, as in traditional server-side include (SSI) code
  • Interact with Enterprise JavaBeans (EJBs) from a JSP and servlet
  • Use Amazon.com’s and Google.com’s Web Services APIs from a servlet or JSP

I have also included numerous technology-specific recipes, such as:

  • Using “sessions” in your Java web applications (a concept that represents the tracking of a user’s progress through a website)
  • Working with “filters”
  • Using the open source ANT tool to build web applications
  • Binding Java objects to a session or web application so they can be used as an information or data containers
  • Creating your own custom tags for JSPs
  • Using the JavaServer Pages Standard Tag Library (JSTL), which is a large set of prebuilt tags you can use in JSPs

In short, the book is designed to help guide Java web developers in their everyday tasks and to provide quick solutions to typical web-related problems.


You can also get this PDF by using our Android Mobile App directly:

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.