Improve your coding skills from beginner to expert with the largest online Java e-learning platform

Java Web Development Second Edition: Module 1

Module 1 - Servlets, Form Handling and Security
  • This course covers the first steps in the process of becoming a professional Java Web Developer.
  • Servlets are covered in detail, together with associated web concepts such as sessions, form management and GET/POST.
  • This first module covers the basics, and will be followed by a second module which will include JSP, Ajax, Asynchronous Servlets and Websockets.


You'll need to know some basic Java first

Contents - 3.5 hours (approx)


Having problems? check the errata for this course.



20 m 18 s
An introduction to the course. For this second edition of the course, we use an embedded version of Tomcat, which makes for easier and faster development.


Getting started with Servlets

38 m 7 s
Servlets are the most basic tool in Java Web Development. Although professional projects rarely use them directly, they are still often "behind the scenes" and it is very useful to have a knowledge of how they work.


Servlet Exercise

8 m 21 s
Your chance to practice building a servlet.


Handing Forms

16 m 31 s
How to pass data from the webpage to your Java code.



26 m 30 s
Any good web developer needs to know the difference between these two methods of sending data to server side code.



19 m 4 s
This is a common "pattern" for developing the flow of webpages; it solves a common problem in web applications and avoids such horrors as duplicate submissions.


Sessions and Cookies

40 m 5 s
How to use Server Side Sessions, and where Cookies fit in.


Servlet Security

33 m 29 s
How to use BASIC and FORM authentication using the basic web.xml based syntax provided in the servlet standard.

Let the Course Come to You

About Us Pricing Frequently Asked Questions Contact Privacy T&Cs Affiliates and Resellers
Facebook Twitter YouTube LinkedIn