Review Topics for Exam 2

Class Page Links

Tomcat

Chapter 1 : Browser-Server Communication

  1. Hypertext Transport Protocol
    1. Request Format
    2. Response Format
    3. Content Type
  2. Markup Language
    1. Hypertext Markup Language
    2. Basic Tags for a Web Page
    3. What is the HT in HTML?
  3. HTML Forms
    1. Form Tags
    2. Representing Data
    3. Transmitting Data over the Web
  4. Processing Form Data
  5. The Truth About JSPs
  6. Tomcat and NetBeans
  7. Summary
  8. Chapter Review

Chapter 2

  1. Introduction
  2. Sending Data to Another Form
    1. Action Attribute
    2. Hidden Field Technique
    3. Sending Data to Either of Two Pages
  3. Using a Controller
    1. Controller Details
    2. JSP Controller
    3. JSPs versus Servlets
    4. Controller Servlet
    5. Servlet Access
    6. Servlet Directory Structure
    7. Servlet Engine for a Servlet
  4. Summary
  5. Chapter Review

Chapter 3

  1. Introduction
  2. Java Bean
    1. Creating a Data Bean
    2. Using the Bean in a Web Application
  3. Application: Data Bean
    1. Controller: Data Bean
    2. Accessing the Bean in the JSP
    3. JSPs: Data Bean
  4. Application: Default Validation
    1. Java Bean: Default Validation
    2. Controller: Default Validation
  5. Member Variables in Servlets
    1. Threads
    2. The Problem with Member Variables
    3. Local versus Member Variables
  6. Reorganising the Controller
    1. Creating the Helper Base
    2. Creating the Controller Helper
    3. JSPs: Reorganised Controller
    4. Controller: Reorganised Controller
  7. Application: Reorganised Controller
  8. Model, View, Controller
  9. Summary
  10. Chapter Review

Chapter 4

  1. Introduction
  2. Logging in Web Applications
    1. Logging with Log4j
    2. Configuring Log4j
    3. Retrieving the Logger
  3. Summary
  4. Chapter Review
    1. Terms: Logger, Logger Path, Logger Name, Logger Initialisation Servlet, Initialisation Parameter
    2. New Java: All the Logger methods, all the Levels
    3. Tags: load-on-startup, init-param
    4. Questions: 1, 3
    5. Tasks: 1, 2