Flylib.com
Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition)
Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition)
ISBN: 0130092290
EAN: 2147483647
Year: 2002
Pages: 194
Authors:
Marty Hall
,
Larry Brown
BUY ON AMAZON
Main Page
Table of content
Copyright
Acknowledgments
About the Authors
Introduction
Who Should Read This Book
Volume 2
Distinctive Features
How This Book Is Organized
Conventions
About the Web Site
Chapter 1. An Overview of Servlet and JSP Technology
1.1 A Servlet s Job
1.2 Why Build Web Pages Dynamically?
1.3 A Quick Peek at Servlet Code
1.4 The Advantages of Servlets Over Traditional CGI
1.5 The Role of JSP
Part I: Servlet Technology
Chapter 2. Server Setup and Configuration
2.1 Download and Install the Java Software Development Kit (SDK)
2.2 Download a Server for Your Desktop
2.3 Configure the Server
2.4 Configuring Apache Tomcat
2.5 Configuring Macromedia JRun
2.6 Configuring Caucho Resin
2.7 Set Up Your Development Environment
2.8 Test Your Setup
2.9 Establish a Simplified Deployment Method
2.10 Deployment Directories for Default Web Application: Summary
2.11 Web Applications: A Preview
Chapter 3. Servlet Basics
3.1 Basic Servlet Structure
3.2 A Servlet That Generates Plain Text
3.3 A Servlet That Generates HTML
3.4 Servlet Packaging
3.5 Simple HTML-Building Utilities
3.6 The Servlet Life Cycle
3.7 The SingleThreadModel Interface
3.8 Servlet Debugging
Chapter 4. Handling the Client Request: Form Data
4.1 The Role of Form Data
4.2 Reading Form Data from Servlets
4.3 Example: Reading Three Parameters
4.4 Example: Reading All Parameters
4.5 Using Default Values When Parameters Are Missing or Malformed
4.6 Filtering Strings for HTML-Specific Characters
4.7 Automatically Populating Java Objects from Request Parameters: Form Beans
4.8 Redisplaying the Input Form When Parameters Are Missing or Malformed
Chapter 5. Handling the Client Request: HTTP Request Headers
5.1 Reading Request Headers
5.2 Making a Table of All Request Headers
5.3 Understanding HTTP 1.1 Request Headers
5.4 Sending Compressed Web Pages
5.5 Differentiating Among Different Browser Types
5.6 Changing the Page According to How the User Got There
5.7 Accessing the Standard CGI Variables
Chapter 6. Generating the Server Response: HTTP Status Codes
6.1 Specifying Status Codes
6.2 HTTP 1.1 Status Codes
6.3 A Servlet That Redirects Users to Browser-Specific Pages
6.4 A Front End to Various Search Engines
Chapter 7. Generating the Server Response: HTTP Response Headers
7.1 Setting Response Headers from Servlets
7.2 Understanding HTTP 1.1 Response Headers
7.3 Building Excel Spreadsheets
7.4 Persistent Servlet State and Auto-Reloading Pages
7.5 Using Servlets to Generate JPEG Images
Chapter 8. Handling Cookies
8.1 Benefits of Cookies
8.2 Some Problems with Cookies
8.3 Deleting Cookies
8.4 Sending and Receiving Cookies
8.5 Using Cookies to Detect First-Time Visitors
8.6 Using Cookie Attributes
8.7 Differentiating Session Cookies from Persistent Cookies
8.8 Basic Cookie Utilities
8.9 Putting the Cookie Utilities into Practice
8.10 Modifying Cookie Values: Tracking User Access Counts
8.11 Using Cookies to Remember User Preferences
Chapter 9. Session Tracking
9.1 The Need for Session Tracking
9.2 Session Tracking Basics
9.3 The Session-Tracking API
9.4 Browser Sessions vs. Server Sessions
9.5 Encoding URLs Sent to the Client
9.6 A Servlet That Shows Per-Client Access Counts
9.7 Accumulating a List of User Data
9.8 An Online Store with a Shopping Cart and Session Tracking
Part II: JSP Technology
Chapter 10. Overview of JSP Technology
10.1 The Need for JSP
10.2 Benefits of JSP
10.3 Advantages of JSP Over Competing Technologies
10.4 Misconceptions About JSP
10.5 Installation of JSP Pages
10.6 Basic Syntax
Chapter 11. Invoking Java Code with JSP Scripting Elements
11.1 Creating Template Text
11.2 Invoking Java Code from JSP
11.3 Limiting the Amount of Java Code in JSP Pages
11.4 Using JSP Expressions
11.5 Example: JSP Expressions
11.6 Comparing Servlets to JSP Pages
11.7 Writing Scriptlets
11.8 Scriptlet Example
11.9 Using Scriptlets to Make Parts of the JSP Page Conditional
11.10 Using Declarations
11.11 Declaration Example
11.12 Using Predefined Variables
11.13 Comparing JSP Expressions, Scriptlets, and Declarations
Chapter 12. Controlling the Structure of Generated Servlets: The JSP page Directive
12.1 The import Attribute
12.2 The contentType and pageEncoding Attributes
12.3 Conditionally Generating Excel Spreadsheets
12.4 The session Attribute
12.5 The isELIgnored Attribute
12.6 The buffer and autoFlush Attributes
12.7 The info Attribute
12.8 The errorPage and isErrorPage Attributes
12.9 The isThreadSafe Attribute
12.10 The extends Attribute
12.11 The language Attribute
12.12 XML Syntax for Directives
Chapter 13. Including Files and Applets in JSP Pages
13.1 Including Pages at Request Time: The jsp:include Action
13.2 Including Files at Page Translation Time: The include Directive
13.3 Forwarding Requests with jsp:forward
13.4 Including Applets for the Java Plug-In
Chapter 14. Using JavaBeans Components in JSP Documents
14.1 Why Use Beans?
14.2 What Are Beans?
14.3 Using Beans: Basic Tasks
14.4 Example: StringBean
14.5 Setting Bean Properties: Advanced Techniques
14.6 Sharing Beans
14.7 Sharing Beans in Four Different Ways: An Example
Chapter 15. Integrating Servlets and JSP: The Model View Controller (MVC) Architecture
15.1 Understanding the Need for MVC
15.2 Implementing MVC with RequestDispatcher
15.3 Summarizing MVC Code
15.4 Interpreting Relative URLs in the Destination Page
15.5 Applying MVC: Bank Account Balances
15.6 Comparing the Three Data-Sharing Approaches
15.7 Forwarding Requests from JSP Pages
15.8 Including Pages
Chapter 16. Simplifying Access to Java Code: The JSP 2.0 Expression Language
16.1 Motivating EL Usage
16.2 Invoking the Expression Language
16.3 Preventing Expression Language Evaluation
16.4 Preventing Use of Standard Scripting Elements
16.5 Accessing Scoped Variables
16.6 Accessing Bean Properties
16.7 Accessing Collections
16.8 Referencing Implicit Objects
16.9 Using Expression Language Operators
16.10 Evaluating Expressions Conditionally
16.11 Previewing Other Expression Language Capabilities
Part III: Supporting Technology
Chapter 17. Accessing Databases with JDBC
17.1 Using JDBC in General
17.2 Basic JDBC Examples
17.3 Simplifying Database Access with JDBC Utilities
17.4 Using Prepared Statements
17.5 Creating Callable Statements
17.6 Using Database Transactions
17.7 Mapping Data to Objects by Using ORM Frameworks
Chapter 18. Configuring MS Access, MySQL, and Oracle9i
18.1 Configuring Microsoft Access for Use with JDBC
18.2 Installing and Configuring MySQL
18.3 Installing and Configuring Oracle9i Database
18.4 Testing Your Database Through a JDBC Connection
18.5 Setting Up the music Table
Chapter 19. Creating and Processing HTML Forms
Default Web Application: Tomcat
Default Web Application: JRun
Default Web Application: Resin
19.1 How HTML Forms Transmit Data
19.2 The FORM Element
19.3 Text Controls
19.4 Push Buttons
19.5 Check Boxes and Radio Buttons
19.6 Combo Boxes and List Boxes
19.7 File Upload Controls
19.8 Server-Side Image Maps
19.9 Hidden Fields
19.10 Groups of Controls
19.11 Tab Order Control
19.12 A Debugging Web Server
Appendix Server Organization and Structure
Tomcat
JRun
Resin
Core Servlets and Javaserver Pages: Core Technologies, Vol. 1 (2nd Edition)
ISBN: 0130092290
EAN: 2147483647
Year: 2002
Pages: 194
Authors:
Marty Hall
,
Larry Brown
BUY ON AMAZON
ERP and Data Warehousing in Organizations: Issues and Challenges
ERP Systems Impact on Organizations
Enterprise Application Integration: New Solutions for a Solved Problem or a Challenging Research Field?
Context Management of ERP Processes in Virtual Communities
Data Mining for Business Process Reengineering
A Hybrid Clustering Technique to Improve Patient Data Quality
Agile Project Management: Creating Innovative Products (2nd Edition)
Core Agile Values
Simplify
An Agile Process Framework
Practice: Participant Identification
Self-Organization Extensions
Kanban Made Simple: Demystifying and Applying Toyotas Legendary Manufacturing Process
Forming Your Kanban Team
Conduct Data Collection
Training
Initial Startup and Common Pitfalls
Appendix E EOQ vs. Kanban
Systematic Software Testing (Artech House Computer Library)
Detailed Test Planning
Analysis and Design
Test Implementation
Some Final Thoughts…
Appendix E Simplified Unit Test Plan
Competency-Based Human Resource Management
Why a Focus on Jobs Is Not Enough
A Need for Implementing Competency-Based HR Management
Competency-Based Employee Development
The Transformation to Competency-Based HR Management
Appendix C Examples of Life-Career Assessment Exercises
Information Dashboard Design: The Effective Visual Communication of Data
Clarifying the Vision
Thirteen Common Mistakes in Dashboard Design
Choosing a Deficient Measure
Understanding the Limits of Short-Term Memory
Organize the Information to Support Its Meaning and Use
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies