Java Servlets and JSP - Build Java EE(JEE) app in 25 Steps

Servlets and JSP Tutorial for Beginners
4.6 (119 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,941 students enrolled Bestselling in JavaServer Pages
$19
$40
52% off
Take This Course
  • Lectures 35
  • Length 3.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 1/2016 English

Course Description

Reviews

16 out of 24 Reviews are 5 Star - Last updated 03/23/2016

"It's so easy to follow and you learn seamlessly by examples"

"Simple and perfect. I would recommend for any one who wants to begin Java web development"

"I'd strongly recommend to all the beginners to go through this tutorial. It helps in clearing side dish technologies for Java. The quality is good and the instructor really explained very clearly. Thanks!"

"Perfect for a beginner to understand the basics & to continue interest in web application development !! Thanks :)"

Course Description

Developing your first Java Web Application using JSP and Servlets is fun.

In this course, you will learn the basics developing a Basic Todo Management Application using Java Servlets and JSP with Login and Logout functionalities.

You will build a Dynamic Website using the Core technologies of Java Web Programming. You will understand the basic concepts of Java Web Application Development - HTTP protocol, Request-Response cycle, Java Servlets, JSPs.

You will build the website step by step - in more than 25 steps. This course would be a perfect first step as an introduction to Java Web Application Development.

We will be using Tomcat Web Server and Eclipse IDE. We will help you set these up.

You will learn

  • Basic Web Application Architecture - Model 1 and Model 2 MVC
  • Basics of Java EE - Servlets, JSP, Scriptlets, JSTL, web dot xml and EL
  • Basic Flow of a Web Application, Forms, Request and Response
  • Basics of creating a Web Page using CSS and HTML
  • Basics of using Maven, Tomcat and Eclipse
  • Difference between Session and Request Scopes

Steps

  • Step 01 : Up and running with a Web Application in Tomcat
  • Step 02 : First JSP
  • Step 03 : Adding a Get Parameter name
  • Step 04 : Adding another Get Parameter Password
  • Step 05 : Let's add a form
  • Step 06 : New Form and doPost
  • Step 07 : Adding Password and Validation of User Id / Password combination
  • Step 08 : Adding a TodoService and Todos to welcome page
  • Step 09 : Bit of Refactoring - Packages
  • Step 10 : Redirect from One Servlet to another - New TodoServlet.
  • Step 11 : First JSTL Tag : Using a Loop around todos
  • Step 12 : Difference between Session and Request Scopes
  • Step 13 : Add a New Todo
  • Step 14 : Delete Todo with equals and hashcode methods
  • Step 15 : Adding webjars for jquery and bootstrap
  • Step 16 : Missing Step :) We want you to take a break. Nothing in here..
  • Step 17 : Updating Bootstrap to 3.3.6
  • Step 18 : More Refactoring
  • Step 19 : Adding a Filter for More Security.
  • Step 20 : Logout
  • Step 21 : Theory : Understand Maven and Tomcat
  • Step 22 : Theory : Servlet LifeCycle
  • Step 23 : Theory : Model 1 and Model 2 MVC Architectures
  • Step 24 : Moving Add Functionality to a New Page.
  • Step 25 : Add Category Field
  • Step 26 : Format the JSPs better.
  • Step 27 : JSP Fragments

We do NOT interact with a Database in this Beginner’s Course.

What are the requirements?

  • You are expected to be familiar with Java.
  • You are NOT expected to have any experience with Eclipse,Maven or Tomcat.
  • We will help you install Eclipse and get up and running with Maven and Tomcat.

What am I going to get from this course?

  • Build a Basic Todo Management Application piece by piece in 25 Steps.
  • Understand Basic Web Application Architecture
  • Understand and use Basics of Java EE - Servlets, JSP, Scriptlets, JSTL, web.xml and EL
  • Understand Servlet LifeCycle
  • Use HttpRequest - GET/POST, Request Parameters
  • Understand HTTP Response - Response Status - 404,200,500 etc
  • Understand HTML Forms - Method, Action & Form Data
  • Understand Basics of using Maven, Tomcat and Eclipse
  • Understand Difference between Session and Request Scopes
  • Use Maven for Basic Dependency Management
  • Run Web Application in Tomcat
  • Style web applications with Bootstrap (Basics)
  • Use Filters to intercept Request

What is the target audience?

  • You are looking forward to developing your first Java Web Application
  • You have some experience with Java Web Applications but did not completely understand the basics
  • You want to learn basics of JSP and Servlets

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction to Your First Java Servlets and JSP Web Application in 25 Steps
Congratulations
Article
01:17

Github Repository link : https://github.com/in28minutes/JavaWebApplicationStepByStep

Section 2: Web Application Basics
Step 01 : Setting up Your First Java Web Application
Preview
09:31
Step 01 : Theory 1 - Maven and Magic
Preview
06:17
Step 01 : Theory 2 - What is a Servlet?
Preview
02:13
Step 01 : Theory 3 - Web Application Request Flow
Preview
07:33
Step 01 : Theory 4 - Understand Your First Servlet - LoginServlet
06:37
Step 02 : Create LoginServlet From Scratch Again and Your First View
12:37
Step 02 : Theory - Play Time - Let's Try Breaking Things
03:57
Step 03 : Passing Request Parameters using Get Method
09:12
Step 03 : Theory - Introduction and End to Scriptlets
05:14
Step 04 : Disadvantages of Get Parameters
04:05
Section 3: More Basics : Request Methods Get/Post and Servlets
Step 05 : Your First Post Request
06:53
Step 06 : Your First Servlet doPost Method
05:10
Step 07 : Lets Add a Password Field
09:10
Step 08 : Let's Add Todos to Welcome Page
08:43
Step 09 : Take a Breather and Refactor
02:45
Step 10 : Redirecting to Another Servlet
05:29
Section 4: Adding More Java Web Application Features
Step 11 : Your First JSTL Tag
07:53
Step 12 : Session Scope vs Request Scope
07:17
Step 13 : Add new Todo Functionality
09:26
Step 14 : Add delete Todo Functionality
09:09
Step 15 : Import Bootstrap and JQuery with WebJars.
06:25
Step 17 : Playing around with Bootstrap
07:09
Step 18 : Let's Clean up and Refactor
06:50
Step 19 : Adding a Filter
10:56
Step 20 : Adding Logout Functionality
02:55
Section 5: Let's Take in Some Theory
Step 21 : Let's understand Maven and Tomcat
Preview
04:19
Step 22 : Servlet Life Cycle
Preview
03:25
Step 23 : Model 1 and Model 2 (MVC) Architectures
02:58
Section 6: Let's get back to Building the Application Again
Step 24 : Refactoring - Move Add Functionality to New Servlet
05:40
Step 25 : Adding Category Field
15:02
Step 26 : Using JSP Fragments for Header, Footer & Navigation
05:54
Next Steps
00:32
Our Best Courses : Bonus Lecture
Article

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

in28Minutes Official, Architect, Programmer and Trainer

About Me

I'm Ranga Karanam, an Architect with 15 Years of Java programming and design  with major banking clients across the world. 

We started in28Minutes with the aim to create Hands-on Courses with Real World Projects. Step-By-Step series of Courses is one of our creations.

About in28Minutes

We use Problem-Solution based Step-By-Step Hands-on Approach With Practical, Real World Application Examples.

While our primary expertise is on Development, Design & Architecture of Java & Related Frameworks (Spring, Spring MVC, Struts, Hibernate) we are expanding into the front-end world (Bootstrap, JQuery, Angular JS).

Our Beliefs

Best Courses are interactive and fun.

Foundations for building high quality applications are best laid down while learning.

Our Approach

We love open source and therefore, All our code is open source too and available on Github.

We use 80-20 Rule. We discuss 20% things used 80% of time in depth. We touch upon other things briefly equipping you with enough knowledge to find out more on your own.

Problem Solution based Step by Step Hands-on Learning.

Ready to start learning?
Take This Course