From the course: Java EE 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Servlet basics

Servlet basics - Java EE Tutorial

From the course: Java EE 8 Essential Training

Start my 1-month free trial

Servlet basics

- [Instructor] It is important to understand servlets because many other Java EE web technologies are built on top of their request processing capabilities. In order to get a deeper look at servlets, we're going to go ahead and build out a project that contains a simple servlet. To do that, we can click on the file option within the menu and then go to new and then dynamic web project. And here, we're going to start to build out that project. The project requires a name which is going to be hsports-catalog-servlet. And then we want to check that we are using the Wildfly 17 runtime and that we're using the dynamic web module version 4.0. That corresponds with servlet specification 4.0 which was released in Java EE 8. With those in place, just go ahead, hit next and then we're taken to the dialog to configure our source folders. We're going to change this up some so, select the source folder, hit remove and then we'll add a…

Contents