eBook (Adobe DRM)

Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.

Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.

Description

Copyright 2004

Pages: 552

Edition: 1st

eBook (Adobe DRM)

ISBN-10: 0-7686-6025-4

ISBN-13: 978-0-7686-6025-8

In JavaServer Pages 2.0, Sun has added new features that make it even easier to create dynamic, interactive Web pages in Java. These include a built-in expression language and a library of tags (the JSP Standard Tag Library) that facilitate creation of pages.

Sams Teach Yourself JavaServer Pages 2.0 in 24 Hours starts with the basics of JSP, and explains the expression language, JSTL, creating new tags and more. Each lesson builds on the previous one, giving you a full picture of JSP development. Later chapters describe how to incorporate XML, interface with larger Java applications, work with popular frameworks such as Struts, and more. The book includes Apache Tomcat, Sun's reference implementation of JSP, so you can start developing applications immediately.

Introducing Servlets. A “Hello World” Servlet. Using the invoker to Run a Servlet. Packaging, Deploying, and Running a Servlet. The Anatomy of a Servlet. Sending a Response to the Browser. The HttpServlet Class. Choosing Between JavaServer Pages and Servlets. Summary. Q&A. Workshop.

Hour 3. Creating HTML Forms.

A Simple HTML Form. Using the request Object. Retrieving Form Variables in a Servlet. Different Ways to Do Forms. Summary. Q&A. Workshop.

The ServletRequest Class. The HttpServletRequest Class. The ServletContext Class. The ServletResponse Class. The HttpServletResponse Class. The ServletInputStream Class. The ServletOutputStream Class. The HttpSession Class. The Cookie Class. Creating a New Cookie. Summary. Q&A. Workshop.