Skip Ribbon Commands
Skip to main content

JSRV J-320 - Dynamic Web Content Using Java Servlets


Duration: 1 Day




Delivery Method:

Software Assurance Value:

Microsoft CPE:

Course Information

Course Description

​Servlets are for creating on-demand Web content. This course teaches how to generate dynamic Web documents using the Java Servlet API.

Topics include generic and HTTP servlets, Request and Response objects, cookies and session tracking, and security authentication and authorization.
For an overview of all of our Java training, visit the Java Curriculum  page. You will find descriptions of different skill levels and Java platforms (J2SE, J2EE) you may encounter as a Java Developer.

Course Objectives

Course Audience

​Middle-tier Java developers that need to present dynamic content on the Web using Java servlets.

Course Outline

Servlet Basics
  • Browsers, Servers and Servlets
  • The Basic Servlet
  • Three Ways to Use Servlets
  • The Servlet Life Cycle
  • The HttpServlet Approach
  • More do Methods
  • Thread Models
  • Debugging

Request and Response

  • Request and Response Basics
  • The HttpServletRequest Object
  • Request Headers
  • Status Codes
  • Response Headers
  • Ensuring Valid Characters

Session Tracking

  • Understanding Cookies
  • The Cookie Class
  • Session Tracking
  • The HttpSession Class
  • Encoding URLs
  • Terminating Sessions

Web Applications

  • Web Application Components
  • ServletContext
  • Forward and Include
  • Supporting Files
  • Deployment Descriptor
  • Security - Authentication
  • Security - Authorization
  • Applet to Servlet Communication

Course Prerequisites

Before attending this course, students must have completed:
  • J-145, Java Programming for the Enterprise
  • J-240, Advanced Java Programming
Course Schedule
This course is not scheduled yet.