Home   FAQs   New Arrivals   Specials   Pricing & Shipping   Location   Corporate Services   Why Choose Bookware?  
 Search:   
Call our store: 9922 6266 (from within Sydney) or 1800 734 567 (from outside Sydney)
 View Cart   Check Out   
 
Browse by Subject
 Nepean TAFE 2012
I.T
 .NET
 Windows 7
 Adobe CS5
 Cisco
 CCNA 2012
 CCNP 2012
 Java
 VB
 ASP
 Web Design
 E-Commerce
 Project Management
 ITIL
 Macintosh
 Linux
 Windows Server 2008
 SAP
 Sharepoint 2010
Certification
 MCITP
 MCTS
Economics and Business
 Accounting
 Business Information Systems
 Economics
 Finance
 Management
 Marketing
 TAX
 Human Resources
Academic
 Law
 Nursing
 Medical

JavaServer Pages, 3rd Edition

by: Hans Bergsten

Notify me when in stock

On-line Price: $57.95 (includes GST)

Paperback package 752

20%Off Retail Price

You save: $15.00

Please call us to check availability

Retail Price: $72.95

Publisher: O'REILLY,2004/01/01

Category: JAVA Level: I/A

ISBN: 0596005636
ISBN13: 9780596005634

Add to Shopping Cart

JavaServer Pages, Third Edition is completely revised and updated to cover the substantial changes in the 2.0 version of the JSP specification. It also includes detailed coverage of the major revisions to the JSP Standard Tag Library (JSTL) specification. Combining plenty of practical advice with detailed coverage of JSP syntax and features and clear, useful examples, JavaServer Pages, Third Edition demonstrates how to embed server-side Java into Web pages, while also covering important topics such as JavaBeans, Enterprise JavaBeans (EJB), and JDBC database access.


          Full Description

The third edition of this immensely practical guide provides clear, comprehensive guidance for both web developers who want to make the most of Java Server Pages' (JSP) potential for building dynamic web applications, and programmers who want to master the JSP API and use JSP effectively in a distributed enterprise application.


  JavaServer Pages, Third Edition is completely revised and updated to cover the substantial changes in the 2.0 version of the JSP specification. It also includes detailed coverage of the major revisions to the JSP Standard Tag Library (JSTL) specification.


  Combining plenty of practical advice with detailed coverage of JSP syntax and features and clear, useful examples, JavaServer Pages, Third Edition demonstrates how to embed server-side Java into Web pages, while also covering important topics such as JavaBeans, Enterprise JavaBeans (EJB), and JDBC database access.


  Java Server Pages gives developers the in-depth information and invaluable examples they need to:


      Capitalize on the power of Java servlets to create effective, portable web applications


  Get started using the Apache Tomcat server


  Master JSP syntax and features, error handling and debugging, authentication and personalization


  Use JSTL for database access, XML processing, and internationalization


  Integrate servlets and JavaBeans with JSP (using the popular Jakarta Struts MVC framework)


  Develop custom tag libraries using the new tag file format


  Build a Java-Based custom library using the new, simplified tag handler API and the new tag library function feature


  And much more.


  JSP builds on the popular Java servlet technology and makes it easier to develop dynamic web applications--even if you're not a hard-core programmer. JavaServer Pages, Third Edition is loaded with clean, portable, well-documented code, providing experts with invaluable tips and insights, while giving newcomers all they need to assess and implement their first JSP applications.


      

Table of Contents

Preface


      Part I. JSP Application Basics


  1. Introducing JavaServer Pages


          What Is JavaServer Pages?


          Why Use JSP?


          What You Need to Get Started


  2. HTTP and Servlet Basics


          The HTTP Request/Response Model


          Servlets


  3. JSP Overview


          The Problem with Servlets


          The Anatomy of a JSP Page


          JSP Processing


          JSP Application Design with MVC


  4. Setting Up the JSP Environment


          Installing the Java Software Development Kit


          Installing the Tomcat Server


          Testing Tomcat


          Installing the Book Examples


          Example Web Application Overview


      Part II. JSP Application Development


  5. Generating Dynamic Content


          Creating a JSP Page


          Installing a JSP Page


          Running a JSP Page


          Using JSP Directive Elements


          Using Template Text


          Using JSP Action Elements


  6. Using JavaBeans Components in JSP Pages


          What Is a Bean?


          Declaring a Bean in a JSP Page


          Reading Bean Properties


          Setting Bean Properties


  7. Using Custom Tag Libraries and the JSP Standard Tag Library


          What Is a Custom Tag Library?


          Installing a Custom Tag Library


          Declaring a Custom Tag Library


          Using Actions from a Tag Library


  8. Processing Input and Output


          Reading Request Parameter Values


          Validating User Input


          Formatting HTML Output


  9. Error Handling and Debugging


          Dealing with Syntax Errors


          Debugging a JSP Application


          Dealing with Runtime Errors


  10. Sharing Data Between JSP Pages, Requests, and Users


          Passing Control and Data Between Pages


          Sharing Session and Application Data


          Online Shopping


          Memory Usage Considerations


  11. Developing Custom Tag Libraries as Tag Files


          Creating and Using a Tag File


          Accessing Attribute Values


          Processing the Action Body


          Processing Fragment Attributes


          Exposing Data to the Calling Page Through Variables


          Aborting the Page Processing


          Packaging Tag Files for Easy Reuse


  12. Accessing a Database


          Accessing a Database from a JSP Page


          Validating Complex Input Without a Bean


          Using Transactions


          Application-Specific Database Actions


  13. Authentication and Personalization


          Container-Provided Authentication


          Application-Controlled Authentication


          Other Security Concerns


  14. Internationalization


          How Java Supports Internationalization and Localization


          Generating Localized Output


          A Brief History of Bits


          Handling Localized Input


  15. Working with XML Data


          Generating an XML Response


          Transforming XML into HTML


          Transforming XML into a Device-Dependent Format


          Processing XML Data


  16. Using Scripting Elements


          Using page Directive Scripting Attributes


          Implicit JSP Scripting Objects


          Using Scriptlets


          Using Expressions


          Using Declarations


          Mixing Action Elements and Scripting Elements


          Dealing with Scripting Syntax Errors


  17. Bits and Pieces


          Buffering


          Including Page Segments


          Global Configuration Options


          Mixing Client-Side and Server-Side Code


          Precompiling JSP Pages


          Preventing Caching of JSP Pages


          Writing JSP Pages as XML Documents


          How URIs Are Interpreted


      Part III. JSP in J2EE and JSP Component Development


  18. Web Application Models


          The Java 2 Enterprise Edition Model


          The MVC Design Model


          Scalability


  19. Combining JSP and Servlets


          Servlets, Filters, and Listeners


          Picking the Right Component Type for Each Task


          Initializing Shared Resources Using a Listener


          Access Control Using a Filter


          Centralized Request Processing Using a Servlet


          Using a Common JSP Error Page


  20. Developing JavaBeans Components for JSP


          Beans as JSP Components


          JSP Bean Examples


          Unexpected Behavior


  21. Developing Custom Tag Libraries Using Java


          Developing Simple Tag Handlers


          Developing Classic Tag Handlers


          Developing Tag Library Functions


          Creating the Tag Library Descriptor


          Packaging and Installing a Tag Library


  22. Advanced Custom Tag Library Features


          Developing Cooperating Actions


          Validating Syntax


          Using a Listener in a Tag Library


          Dynamic Attribute Values and Types


  23. Integrating Custom Code with JSTL


          Setting and Using Configuration Variables


          Integrating Custom Conditional Actions


          Integrating Custom Iteration Actions


          Integrating Custom I18N Actions


          Integrating Custom Database Actions


          Using JSTL Tag Library Validators


  24. Database Access Strategies


          JDBC Basics


          Using Connections and Connection Pools


          Making a Connection Pool Available to Application Components


          Using a Generic Database Bean


          Developing Application-Specific Database Components


      Part IV. Appendixes


  A. JSP Elements Reference


  B. JSTL Actions and API Reference


  C. JSP Expression Language Reference


  D. JSP API Reference


  E. Book Example Custom Actions and API Reference


  F. Web Application Structure and Deployment Descriptor Reference


      Index