Java EE: Servlets and JavaServer Pages (JSP)
6h 15mIntermediate2018-02-06
Authors

Ketkee Aryamane
Software Professional
Course details
Learn how to build dynamic web pages using servlets and JavaServer Pages (JSP). This course starts with the basics, covering the fundamentals of servlets. Instructor Ketkee Aryamane explains how to set up your environment, and discusses GET and POST requests, as well as forwarding and redirection. She then moves on to JSP, reviewing fundamental concepts such as the JSP life cycle. She also covers session management, filters, and listeners. To wrap up, she goes over the JSP Standard Tag Library (JSTL) core module and fmt module, and also discusses the development of custom tags.
Learning objectives
Reviewing the purpose of servlets
Implementing a GET request in a web app
POST request basics
Forwarding, redirection, and other APIs
Servlet life cycle
Reviewing JSP and its features
Session management
Filters and Listeners
Using expression language in JSP
Need for JSTL and its modules
Learning objectives
Reviewing the purpose of servlets
Implementing a GET request in a web app
POST request basics
Forwarding, redirection, and other APIs
Servlet life cycle
Reviewing JSP and its features
Session management
Filters and Listeners
Using expression language in JSP
Need for JSTL and its modules
Skills covered
Java EEBack-End Web DevelopmentJavaOracleWeb DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Using the exercise files
1. Overview and Setup
- 04 - Understanding the purpose of servlets
- 05 - Environment setup - Create a web project
- 06 - Environment setup - Deploy and run
- 07 - Alternative setups
- 08 - Project application setup
2. Servlet Basics - GET
- 09 - Types of HTTP requests
- 10 - Implementing a GET request in a web app
- 11 - Search - Setting up a database connection
- 12 - Search - Querying the database
- 13 - Search - Building a servlet response
3. Servlet Basics - POST
- 14 - POST request basics
- 15 - Register user - Collecting form data and calling DAO
- 16 - Register user - Querying database and building response
- 17 - Register user - Behind the scenes
4. Forwarding, Redirection, and Other APIs
- 18 - Understanding forwarding
- 19 - Understanding redirection
- 20 - Using ServletConfig
- 21 - Using ServletContext
- 22 - Using request response objects
- 23 - Scopes and parameters vs. attributes
5. Servlet Life Cycle
- 24 - Understanding the servlet life cycle
- 25 - Using the servlet life cycle
6. JSP Fundamentals
- 26 - Understanding JSP and its features
- 27 - JSP elements - Scriptlet, declaration, and expression
- 28 - JSP elements - Scriptlet and expression
- 29 - JSP elements - Declaration
- 30 - Understanding the JSP life cycle
- 31 - JSP directives - Page
- 32 - JSP directives - Include and taglib
- 33 - Understanding implicit objects in JSP
7. Session Management
- 34 - Understanding the need for session management
- 35 - Cookies for session management
- 36 - Using cookies
- 37 - URL rewriting for session management
- 38 - Using URL rewriting
- 39 - Consuming session APIs in a web app
8. Filters and Listeners
- 40 - Understanding the need for filters in a web app
- 41 - Filters - User validation in a servlet
- 42 - Filters - Display error and set up filter class
- 43 - Filters - Implement filter logic
- 44 - Understanding the need for listeners in a web app
- 45 - Using listeners in a web app
9. JSP Standard Actions and Expression Language
- 46 - Understanding the advent of standard actions
- 47 - JSP standard actions - Querying database
- 48 - JSP standard actions - Displaying data
- 49 - Expression language
- 50 - Using expression language in JSP
- 51 - Using implicit objects of expression language
10. JSTL and Custom Tag Library
- 52 - Need for JSTL and its modules
- 53 - Core module - Querying database
- 54 - Core module - Displaying data
- 55 - FMT module
- 56 - Custom tag library
- 57 - Custom tag - Define tag handler and TLD
- 58 - Custom tag - Use tag on JSP
Conclusion
- 59 - Next steps