站内搜索: 请输入搜索关键词
当前页面: 图书首页 > JavaServer Pages, Second Edition

JavaServer Pages, Second Edition

[ directory ] Previous Section Next Section

  
• Table of Contents
• Examples
JavaServer Pages™, Second Edition
By Larne Pekowsky
 
Publisher: Addison Wesley
Pub Date: August 15, 2003
ISBN: 0-321-15079-1
Pages: 368


   Copyright
   Preface
   Acknowledgements
      Chapter 1.  Introduction
      Section 1.1.  A Brief History of the Web
      Section 1.2.  Basic Dynamic Page Generation
      Section 1.3.  Solving CGI Problems
      Section 1.4.  Welcome to Java News Today
      Section 1.5.  Trying the Examples
      Chapter 2.  Simple JSPs
      Section 2.1.  Removing Text from a JSP
      Section 2.2.  JSP Errors
      Section 2.3.  Including Text in a JSP
      Section 2.4.  The Phases of a JSP
      Section 2.5.  Creating Custom Error Pages
      Section 2.6.  Java News Today
      Section 2.7.  Summary and Conclusions
      Section 2.8.  Tags Learned in This Chapter
      Chapter 3.  Using Beans
      Section 3.1.  Splitting Big Tasks into Manageable Pieces
      Section 3.2.  Defining Beans
      Section 3.3.  JavaBean Tags
      Section 3.4.  Making Data Available Throughout an Application
      Section 3.5.  Special Actions When Beans Are Created
      Section 3.6.  Making Beans Last Forever
      Section 3.7.  Java News Today and Beans
      Section 3.8.  Future Directions
      Section 3.9.  Summary and Conclusions
      Section 3.10.  Tags Learned in This Chapter
      Chapter 4.  The Standard Tag Library
      Section 4.1.  Tag Libraries
      Section 4.2.  Tags with Bodies
      Section 4.3.  Dynamic Attributes in Tags
      Section 4.4.  Displaying Expressions
      Section 4.5.  Formatting Output
      Section 4.6.  Compound Data in the Expression Language
      Section 4.7.  Browser Detection
      Section 4.8.  Combining Tags
      Section 4.9.  Selecting among Multiple Choices
      Section 4.10.  Summary and Conclusions
      Section 4.11.  Tags Learned in this Chapter
      Chapter 5.  Java News Today: Part I
      Section 5.1.  The Beans
      Section 5.2.  The Header
      Section 5.3.  The Left-Hand Navigation
      Section 5.4.  The Login Page
      Section 5.5.  The Quiz Result Page
      Section 5.6.  The Section Page
      Section 5.7.  The Article Page
      Section 5.8.  The Remaining Pages
      Section 5.9.  Summary and Conclusions
      Section 5.10.  Tags Learned in this Chapter
      Chapter 6.  Databases
      Section 6.1.  A Quick Introduction to Databases
      Section 6.2.  A Language for Databases
      Section 6.3.  Using SQL Directly from JSPs
      Section 6.4.  Inserting Data from JSPs
      Section 6.5.  SQL and Beans
      Section 6.6.  Summary and Conclusions
      Section 6.7.  Tags Learned in This Chapter
      Chapter 7.  Java News Today: Part 2
      Section 7.1.  Designing the Tables
      Section 7.2.  Adding Articles
      Section 7.3.  User Pages
      Section 7.4.  Other User Preferences
      Section 7.5.  Advertising
      Section 7.6.  Summary and Conclusions
      Chapter 8.  Working with XML
      Section 8.1.  A Brief Introduction to XML
      Section 8.2.  Using XML in JSPs
      Section 8.3.  Selecting Data from an XML Document
      Section 8.4.  Processing XML in JSPs
      Section 8.5.  Formatting XML
      Section 8.6.  Java News Today and XML
      Section 8.7.  Summary and Conclusions
      Section 8.8.  Tags Learned in this Chapter
      Chapter 9.  A Small Cup of Java
      Section 9.1.  Expressions
      Section 9.2.  Types
      Section 9.3.  Storing Values
      Section 9.4.  Method Calls
      Section 9.5.  Conditionally Evaluating Code
      Section 9.6.  Evaluating the Same Code Multiple Times
      Section 9.7.  Grouping Code
      Section 9.8.  Handling Errors
      Section 9.9.  Modeling a Problem with Objects
      Section 9.10.  Objects in Java
      Section 9.11.  Building Objects from Classes
      Section 9.12.  Sometimes Nothing Is Something
      Section 9.13.  Building Classes from Other Classes
      Section 9.14.  Interfaces
      Section 9.15.  Creating Groups of Classes and Interfaces
      Section 9.16.  Using Java in JSPs
      Section 9.17.  Database Access from Java
      Section 9.18.  Summary and Conclusions
      Chapter 10.  Writing Beans
      Section 10.1.  How Beans Are Implemented
      Section 10.2.  Automatic Type Conversion
      Section 10.3.  How Beans Work
      Section 10.4.  Bean Serialization
      Section 10.5.  Events
      Section 10.6.  Special Events
      Section 10.7.  Bean Errors
      Section 10.8.  Summary and Conclusions
      Chapter 11.  Servlets
      Section 11.1.  The Servlet Life Cycle
      Section 11.2.  The Servlet Class Hierarchy
      Section 11.3.  Servlet Events
      Section 11.4.  Forwarding and Including Requests
      Section 11.5.  Using Scopes from Servlets
      Section 11.6.  Using Beans from Servlets
      Section 11.7.  The JSP Classes
      Section 11.8.  Intercepting Requests
      Section 11.9.  Summary and Conclusions
      Chapter 12.  The Controller
      Section 12.1.  Some Common Controller Tasks
      Section 12.2.  Support for Controllers: Struts
      Section 12.3.  Summary and Conclusions
      Chapter 13.  Creating New Tag Libraries
      Section 13.1.  The Tag Life Cycle
      Section 13.2.  Tags without Bodies
      Section 13.3.  Tags with Bodies
      Section 13.4.  Using the Expression Language
      Section 13.5.  JSPs as Custom Tags
      Section 13.6.  Summary and Conclusions
      Chapter 14.  Advanced Topics
      Section 14.1.  Declaring Variables and Methods
      Section 14.2.  Extending Different Classes
      Section 14.3.  Returning Other Kinds of Data
      Section 14.4.  Threads
      Section 14.5.  Advanced Error Handling
      Section 14.6.  Summary and Conclusions
      Appendix A.  Summary of Tags
      Section A.1.  Built-in Tags
      Section A.2.  Core Tags
      Section A.3.  Format, Parsing, and Internationalization Tags
      Section A.4.  SQL Tags
      Section A.5.  XML Tags
      Appendix B.  Configuring a Web Application
      Section B.1.  Layout of the Directories
      Section B.2.  The Web.xml File
[ directory ] Previous Section Next Section