책 이미지
책 정보
· 분류 : 외국도서 > 컴퓨터 > 웹 > 사이트 디자인
· ISBN : 9781565927469
· 쪽수 : 570쪽
· 출판일 : 2000-11-01
목차
Preface
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
Packaging Java Web Applications
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
II.. JSP Application Development
5.. Generating Dynamic Content
What Time Is It?
Input and Output
6.. Using Scripting Elements
Java Primer
Implicit JSP Objects
Conditional Processing
Displaying Values
Using an Expression to Set an Attribute
Declaring Variables and Methods
7.. Error Handling and Debugging
Dealing with Syntax Errors
Debugging a JSP-Based Application
Dealing with Runtime Errors
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
9.. Database Access
Accessing a Database from a JSP Page
Input Validation Without a Bean
Using Transactions
Application-Specific Database Actions
10.. Authentication and Personalization
Container-Provided Authentication
Application-Controlled Authentication
Other Security Concerns
11.. Internationalization
How Java Supports Internationalization and Localization
Generating Localized Output
A Brief History of Bits
Handling Localized Input
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
III.. JSP in J2EE and JSP Component Development
13.. Web Application Models
The Java 2 Enterprise Edition Model
The MVC Model
Scalability
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
15.. Developing JavaBeans for JSP
JavaBeans as JSP Components
JSP Bean Examples
Unexpected Behavior
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
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
IV.. Appendixes
A.. JSP Elements Syntax Reference
B.. JSP API Reference
C.. Book Example Custom Actions and Classes Reference
D.. Web-Application Structure and Deployment Descriptor Reference
E.. JSP Resource Reference
Index















