首页
论坛
图书
开发资料
在线文档
网址
下载
联系我们
站内搜索
: 请输入搜索关键词
当前页面:
图书首页
>
Servlets and JavaServer Pages: The J2EE Technology Web Tier
Servlets and JavaServer Pages: The J2EE Technology Web Tier
[ directory ]
•
Table of Contents
Servlets and JavaServer Pages™: The J2EE™ Technology Web Tier
By
Jayson Falkner
,
Kevin Jones
Publisher
: Addison Wesley
Pub Date
: September 19, 2003
ISBN
: 0-321-13649-7
Pages
: 784
Copyright
Preface
About the Authors
How the Book Is Organized
The Book's Cover
Special Thanks
Chapter 1. Setting Up a Servlet and JSP Environment
A Quick History of Web Development
Containers
Getting Java Support
Web Applications
Ant
Summary
Chapter 2. Java Servlets
What Servlets Are and Why You Would Want to Use Them
Servlet Life Cycle
Servlets for the World Wide Web
Coding an HttpServlet
Servlet Configuration
ServletContext
Servlet Event Listeners
Summary
Chapter 3. JavaServer Pages
JSP 2.0 Specification
JSP Life Cycle
The Difference Between Servlets and JSP
JSP Syntax and Semantics
Implicit Objects
JSP in XML Syntax
Summary
Chapter 4. Exception Handling
Errors and Exceptions
JSP and Servlet Exceptions
Web Application Exception Handling
Logging
Logging and Performance
Summary
Chapter 5. JavaBeans and the JSP Expression Language
JavaBeans
Get and Set Methods
Servlets, JSP, and JavaBeans
Good Use of JavaBeans
JSP. 2.0 Expression Language
Summary
Chapter 6. JavaServer Pages Standard Tag Library
JSTL 1.0 Specification
Why You Should Use the JSTL
Installing the JSTL
JSTL Expression Language
Core Tags
i18n-Capable Text Formatting
XML Manipulation
SQL Tags
Justification for Skipping the SQL Tags
Summary
Chapter 7. Custom Tag Libraries
Why Custom Tags?
Tag Library Basics
How Are Tags Being Used?
New and Old Custom Tags
Tag Library Descriptors (TLDs)
Simple JSP 2.0 Custom Tags
Classic JSP Tag Handlers
Summary
Chapter 8. Filters
Introducing Filters
Wrappers
Filters That Provide JSP-Replacing Functionality
Summary
Chapter 9. Managing State in a Web Application
HTTP and Session State
Persistent State
State and Thread Safety
Summary
Chapter 10. Security
What Do We Mean by Security?
Declarative Security
Programmatic Security in a Servlet/JSP
Secure Encrypted Communication
How Secure Is Security?
Encryption and Compression and Caching
Summary
Chapter 11. Design Patterns
Why Use a Design Pattern?
Common Design Patterns
Jakarta Struts
Abstracting DHTML via Custom Tags
Summary
Chapter 12. Internationalization
Content Encoding
i18n Implementation Techniques
Number and Date Formatting
Summary
Chapter 13. Multi-Client Support
Who Should Read This Chapter
Separating Format from Content
Implementing Multi-Client Support
Solving Multi-Client Problems
Summary
Chapter 14. Database Connectivity
What Is a Database?
JDBC
Using JDBC Optimally
JDBC Web Application Design Patterns
Summary
Chapter 15. Building a Complete Web Application
Designing a Web Application
Distributing the Workload: Dividing Up Who Does What
Implementing Database Support: Creating a Database and Using JDBC
Implementing Business Logic: Filters and the Model 2 Design Pattern
Implementing Presentation Logic: JSP, Multi-Client Design, and Internationalization
(in Japanese)
Finishing the Site
Summary
[ directory ]