Java Servlet Application

Learn about the sample login application we will be interacting with.

We'll cover the following...

Project structure

In this course, we will be interacting with a sample Login application that has the following structure:

├── src
|    ├── main
|         ├── java
|         |    ├── com
|         |         ├── auth0
|         |              ├── example
|         |                   ├── Auth0Filter.java
|         |                   ├── AuthenticationControllerProvider.java
|         |                   ├── CallbackServlet.java
|         |                   ├── HomeServlet.java
|         |                   ├── LoginServlet.java
|         |                   ├── LogoutServlet.java
|         ├── webapp
|              ├── WEB-INF
|                   ├── jsp
|                   |    ├── home.jsp
|                   ├── web.xml
├── build.gradle

Let’s try to understand the different components of this Login application.

The project contains a single JSP: the home.jsp. This JSP displays the token associated with the user after a successful login and ...