-
JSP Application Basics
-
Chapter 1 Introducing JavaServer Pages
- What Is JavaServer Pages?
- Why Use JSP?
- What You Need to Get Started
-
Chapter 2 HTTP and Servlet Basics
- The HTTP Request/Response Model
- Servlets
- Packaging Java Web Applications
-
Chapter 3 JSP Overview
- The Problem with Servlets
- The Anatomy of a JSP Page
- JSP Processing
- JSP Application Design with MVC
-
Chapter 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
-
-
JSP Application Development
-
Chapter 5 Generating Dynamic Content
- What Time Is It?
- Input and Output
-
Chapter 6 Using Scripting Elements
- Java Primer
- Implicit JSP Objects
- Conditional Processing
- Displaying Values
- Using an Expression to Set an Attribute
- Declaring Variables and Methods
-
Chapter 7 Error Handling and Debugging
- Dealing with Syntax Errors
- Debugging a JSP-Based Application
- Dealing with Runtime Errors
-
Chapter 8 Sharing Data Between JSP Pages, Requests, and Users
- Passing Control and Data Between Pages
- Sharing Session and Application Data
- Using Custom Actions
- Online Shopping
- Memory Usage Considerations
-
Chapter 9 Database Access
- Accessing a Database from a JSP Page
- Input Validation Without a Bean
- Using Transactions
- Application-Specific Database Actions
-
Chapter 10 Authentication and Personalization
- Container-Provided Authentication
- Application-Controlled Authentication
- Other Security Concerns
-
Chapter 11 Internationalization
- How Java Supports Internationalization and Localization
- Generating Localized Output
- A Brief History of Bits
- Handling Localized Input
-
Chapter 12 Bits and Pieces
- Buffering
- Including Page Fragments
- XML and JSP
- Mixing Client-Side and Server-Side Code
- Precompiling JSP Pages
- Preventing Caching of JSP Pages
- How URLs Are Interpreted
-
-
JSP in J2EE and JSP Component Development
-
Chapter 13 Web Application Models
- The Java 2 Enterprise Edition Model
- The MVC Model
- Scalability
-
Chapter 14 Combining Servlets and JSP
- Using a Servlet as the Controller
- A More Modular Design Using Action Objects
- Sharing Data Between Servlets and JSP Pages
- Using a JSP Error Page for All Runtime Errors
-
Chapter 15 Developing JavaBeans for JSP
- JavaBeans as JSP Components
- JSP Bean Examples
- Unexpected <jsp:setProperty> Behavior
-
Chapter 16 Developing JSP Custom Actions
- Tag Extension Basics
- Developing a Simple Action
- Processing the Action Body
- Letting Actions Cooperate
- Creating New Variables Through Actions
- Developing an Iterating Action
- Creating the Tag Library Descriptor
- Validating Syntax
- How Tag Handlers May Be Reused
- Packaging and Installing a Tag Library
-
Chapter 17 Developing Database Access Components
- Using Connections and Connection Pools
- Using a Generic Database Bean
- Developing Generic Database Custom Actions
- Developing Application-Specific Database Components
-
-
Appendixes
-
Appendix A JSP Elements Syntax Reference
- Directive Elements
- Scripting Elements
- Action Elements
- Comments
- Escape Characters
-
Appendix B JSP API Reference
- Implicit Variables
- Servlet Classes Accessible Through Implicit Variables
- Tag Extension Classes
- Other JSP Classes
-
Appendix C Book Example Custom Actions and Classes Reference
- Generic Custom Actions
- Internationalization Custom Actions
- Database Custom Actions
- Utility Classes
- Database Access Classes
-
Appendix D Web-Application Structure and Deployment Descriptor Reference
- Web Application File Structure
- Web Application Deployment Descriptor
- Creating a WAR File
-
Appendix E JSP Resource Reference
- JSP-Related Products
- Web Hosting
- Information and Specifications
-
-
Colophon
- Title:
- Java Server Pages
- By:
- Hans Bergsten
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- December 2000
- Pages:
- 574
- Print ISBN:
- 978-1-56592-746-9
- | ISBN 10:
- 1-56592-746-X
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of JavaServer Pages is a grey wolf (Canis lupus), also known as a timberwolf. Once common all over North America, grey wolves wander the open tundra and forests of Alaska, Canada, and parts of the United States—just half their former range. These social animals mate for life and live in packs of 2 to 15 animals; the strongest male is the leader of the group. Only the dominant pair in a pack breeds, the female giving birth to an average of 7 pups sometime in April, May, or June, and all members of the group care for the young. Nicole Arigo was the production editor, and Emily Quill was the copyeditor for JavaServer Pages. Leanne Soylemez proofread the book, and Darren Kelly and Rachel Wheeler provided quality control. Ellen Troutman wrote the index.
Pam Spremulli designed the cover of this book, based on a series design by Edie Freedman. The image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout based on a series design by Nancy Priest. Mike Sierra implemented the design in FrameMaker 5.5.6. The heading font is Bodoni BT, the text font is New Baskerville, and the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano using Macromedia FreeHand 9 and Adobe Photoshop 5.5. This colophon was written by Leanne Soylemez.
