More Servlets and JavaServer Pages (JSP)

More Servlets and JavaServer Pages (JSP)

2.83 (6 ratings by Goodreads)
By (author) 

List price: US$49.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Core Servlets and JavaServer Pages has been an extraordinary success: 100K copies sold world-wide in the first year, 11 foreign translations, the #1 selling servlet and JSP book worldwide last year. The idea of More Servlets and JavaServer Pages is to take the reader from where CSAJSP leaves off. It covers advanced JSP topics not covered in Marty's first book as well as some advances in JSP programming. The combination of Core Servlets and JavaServer Pages and More Servlets and JavaServer Pages provides Java programmers with thorough coverage of servlets and JavaServer pages.-- Perfect companion to Core Servlets and JavaServer Pages-- Covers JDK 1.4 regular expressions-- Explains the new JSP standard tag library in detail-- Complete coverage of the new Apache JSP tag libraries-- Provides practical details for installing and using Tomcat 4, JRun 3.2, the new version of ServletExec, and other upcoming Servlet and JSP engines.Servlets are Java technology's answer to CGI programming. They dramatically simplify the creation of dynamic Web pages and provide e-commerce and intranet developers with an efficient, powerful and portable means of building "Web enabled" applications. JavaServer Pages (JSP) technology is a new approach to separating the static parts of a Web page from the dynamic portion, making the power of servlets accessible to any Web site developer. Now that Servlets and JSP are officially part of the Java 2 Platform, Enterprise Edition (J2EE), virtually every major Web and application server now supports the technology, and it is rapidly becoming the preferred alternative to traditional CGI and the most important component in server-side Webprogramming.This book consists of five parts. Part I provides the reader with a review of the basics. Part II covers the major new servlet and JSP capabilities, and Part III covers Web applications. In Part IV the author covers tag libraries, and in Part V he provides in-depth coverage of optimizing servlet and JSP performance.This book is targeted at all Java or Web programmers as well as CGI developers.The CD-ROM includes all the source code from the book.
show more

Product details

  • Paperback | 752 pages
  • 177.8 x 233.68 x 35.56mm | 1,111.3g
  • Pearson Education (US)
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • 0130676144
  • 9780130676146

Table of contents

Acknowledgments. About the Author. Introduction. Who Should Read This Book. Book Distinctives. Integrated Coverage of Servlets and JSP. Real Code. Step-by-Step Instructions. Server Configuration and Usage Details.How This Book Is Organized. I. The Basics. II. Web Applications. III. Web Application Security. IV. Major New Servlet JSP Capabilities. V. New Tag Library Capabilities.Conventions. About the Web Site. I. THE BASICS. 1. Server Setup and Configuration. Download the Java Development Kit (JDK). Download a Server for Your Desktop. Change the Port and Configure Other Server Settings. Test the Server. Try Some Simple HTML and JSP Pages. Set Up Your Development Environment. Compile and Test Some Simple Servlets. Establish a Simplified Deployment Method. Deployment Directories for Default Web Application: Summary.2. A Fast Introduction to Basic Servlet Programming. The Advantages of Servlets Over "Traditional" CG. Basic Servlet Structure. The Servlet Life Cycle. The Client Request: Form Data. The Client Request: HTTP Request Headers. The Servlet Equivalent of the Standard CGI Variables. The Server Response: HTTP Status Codes. The Server Response: HTTP Response Headers. Cookies. Session Tracking.3. A Fast Introduction to Basic JSP Programming. JSP Overview. Advantages of JSP. Invoking Code with JSP Scripting Elements. Structuring Autogenerated Servlets: The JSP page Directive. Including Files and Applets in JSP Documents. Using JavaBeans with JSP. Defining Custom JSP Tag Libraries. Integrating Servlets and JSP: The MVC Architecture.II. WEB APPLICATIONS. 4. Using and Deploying Web Applications. Registering Web Applications. Structure of a Web Application. Deploying Web Applications in WAR Files. Recording Dependencies on Server Libraries. Handling Relative URLs in Web Applications. Sharing Data Among Web Applications.5. Controlling Web Application. Behavior with web.xml. Defining the Header and Root Elements. The Order of Elements within the Deployment Descriptor. Assigning Names and Custom URLs. Disabling the Invoker Servlet. Initializing and Preloading Servlets and JSP Pages. Declaring Filters. Specifying Welcome Pages. Designating Pages to Handle Errors. Providing Security. Controlling Session Timeouts. Documenting Web Applications. Associating Files with MIME Types. Locating Tag Library Descriptors. Designating Application Event Listeners. J2EE Elements.6. A Sample Web Application: An Online Boat Shop. General Configuration Files. The Top-Level Page. The Second-Level Pages. The Item Display Servlet. The Purchase Display Page.III. WEB APPLICATION SECURITY. 7. Declarative Security. Form-Based Authentication. Example: Form-Based Authentication. BASIC Authentication. Example: BASIC Authentication. Configuring Tomcat to Use SSL.8. Programmatic Security. Combining Container-Managed and Programmatic Security.Example: Combining Container-Managed and Programmatic Security. Handling All Security Programmatically. Example: Handling All Security Programmatically. Using Programmatic Security with SSL. Example: Programmatic Security and SSL.IV. MAJOR NEW SERVLET AND JSP CAPABILITIES. 9. Servlet and JSP Filters. Creating Basic Filters. Example: A Reporting Filter. Accessing the Servlet Context from Filters. Example: A Logging Filter. Using Filter Initialization Parameters. Example: An Access Time Filter. Blocking the Response. Example: A Prohibited-Site Filter. Modifying the Response. Example: A Replacement Filter. Example: A Compression Filter. The Complete Filter Deployment Descriptor.10. The Application Events Framework. Monitoring Creation and Destruction of the Servlet Context. Example: Initializing Commonly Used Data. Detecting Changes in Servlet Context Attributes. Example: Monitoring Changes to Commonly Used Data. Packaging Listeners with Tag Libraries. Example: Packaging the Company Name Listeners. Recognizing Session Creation and Destruction. Example: A Listener That Counts Sessions. Watching for Changes in Session Attributes. Example: Monitoring Yacht Orders. Using Multiple Cooperating Listeners. The Complete Events Deployment Descriptor.V. NEW TAG LIBRARY CAPABILITIES. 11. New Tag Library Features in JSP 1.2. Using the New Tag Library Descriptor Format. Bundling Listeners with Tag Libraries. Checking Syntax with TagLibraryValidator. Aside: Parsing XML with SAX 2.0. Handling Exceptions with the TryCatchFinally Interface. New Names for Return Values. Looping without Generating BodyContent. Introducing Scripting Variables in the TLD File.12. The JSP Standard Tag Library. Using JSTL: An Overview. Installing and Configuring JSTL. Looping with the forEach Tag. Accessing the Loop Status. Looping with the forTokens Tag. Evaluating Items Conditionally. Using the Expression Language.Appendix: Server Organization and Structure. Index.
show more

About Marty Hall

MARTY HALL is president of, a training and consulting company focusing on server-side Java technology. He has taught training courses and seminars on servlet and JSP technology in the United States, Canada, Australia, Japan, and the Philippines. He is the author of the best-selling books Core Servlets and JavaServer Pages and Core Web Programming.
show more

Rating details

6 ratings
2.83 out of 5 stars
5 17% (1)
4 0% (0)
3 50% (3)
2 17% (1)
1 17% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X