Java servlets and JSP Course Description.

Course Objectives:

Prerequisites:

This course includes the following material:

Outline:

1. Servlet Overview

Why servlets
Example of simple servlet
Getting started with Tomcat
HTTP Overview
Web Applications
Servlet lifecycle
Servlet threading model

2. Server

Servlet context
Retrieving environment information

3. Client Request

HttpServletRequest
HTTP request headers

4. Servlet Response

HttpServletResponse
Generating HTML pages
HTTP status codes
HTTP response headers
Handling Errors and Exceptions

5. Session Tracking

Hidden Form fields
URL Rewriting
Cookies
Session Tracking API

6. Applet-Servlet Communication

Applet GET requests
Transferring serialized data
Applet POST requests

7. JSP Overview

Why JSP
Example of simple JSP

8. JSP Processing

Scripting elements (Expressions, Scriptlets, Declarations)
Predefined variables
Declaring variables and methods
JSP Directives

9. Using JavaBeans with JSP

Creating and using Java beans
Setting bean properties manually
Setting bean properties with input parameters
Bean scope

10. JSP Custom Actions

Using custom actions
Developing custom actions
Tag extension basics
JSP taglib directive
Tag library descriptor

11. Integrating Servlets and JSP

MVC model
Passing data between JSP pages
Forwarding Requests

12. Authentication

Form-Based Authentication
Basic Authentication
SSL (Secure Socket Layer)