JSP and Servlets for Beginners: Build a Database Web App

JSP: Covers latest versions of JSP 2.3 and Servlets 3.1 - Updated for 2016
4.7 (984 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.
7,357 students enrolled Bestselling in JavaServer Pages
$19
$35
46% off
Take This Course
  • Lectures 112
  • Length 9 hours
  • Skill Level All Levels
  • Languages English, captions
  • 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 11/2015 English Closed captions available

Course Description

The Most Popular JSP/Servlet course! (Last updated December 2016)

Build a Database App - CRUD: query, insert, update and delete

Join 6,500+ students that are already enrolled!

Over 700+ ... FIVE STAR Reviews! #toprated

Excellent JSP Primer. The code works flawlessly ... top notch quality! - Zac Smith

The Best JSP course for any Beginner. This course will meet or exceed your expectations! - Macuei Mathiang

I am really enjoying learning JSP from this wonderful tutorials and the way Chad explains them with such a great simplicity makes me feel like I am in a classroom with him and he is mentoring me face to face. - Vishal Rangras

---

Live Coding - Watch me code all of the projects from scratch

All source code is available for download

PDFs of all lectures available for download

Closed-Captions / Subtitles available for English (new in December 2016!)

Responsive Instructor - All questions answered within 24 hours

---

Covers the latest JSP 2.3 and Servlet 3.1!

Professional video and audio recordings (check the free previews)

---




What Is Java Server Pages (JSP)?

JSP (JavaServer Pages) is a popular web application solution for Java. JSP helps developers create dynamically generated HTML web pages on the fly. JSP is similar to PHP, but it uses the powerful Java programming language instead.

Benefits of Taking This JSP/Servlets Course

Knowing JSP and Servlets can get you a job or improve the one you have. It's a skill that will put you more in demand in the modern web development industry, and make your software life easier, that's why it's so popular and backed by Oracle.

This course will help you quickly get up to speed with JSP and Servlets. I will demystify the technology and help you understand the essential concepts to build a real JSP/Servlet web application from scratch.

Build a Real JSP/Servlet Application from Scratch

This course is project based and you will build a fully functioning JSP/Servlet web application from scratch.

We start off with a brief overview of JSP and Servlets. Then I show you how to setup your development for JSP by installing Tomcat and Eclipse. Next, I show you how to connect Eclipse and Tomcat for rapid application development.

We cover the key JSP scripting elements: Expressions, Scriptlets and Declaration. For each scripting element, I show you working code examples along with the appropriate use-case and best practices.

You learn about the built-in objects available in JSP. Code examples demonstrate the most common built-in objects.

Next, we cover how to read HTML form data with JSP. This includes reading form data for text fields, drop-down lists, radio buttons and checkboxes.

Then you learn how to manage application state with Sessions and Cookies. You make use of the built-in session object to keep track of actions for a unique user. You also leverage Cookies to personalize a web site for a specific user.

Finally, the course includes JDBC database integration. You learn how to leverage JDBC queries, inserts, updates and deletes in a JSP/Servlet web application.

At the end of this course, you will have a fully functional JSP/Servlet web application that connects to a database. You can use this application as a starting point for your project.

All of the source code and database scripts are provided.


You Will Learn How To

  • Build a fully functioning JSP/Servlet web application from scratch
  • Set up your JSP/Servlet development environment with Tomcat and Eclipse
  • Explore JSP scripting elements: Expressions, Scriptlets and Declarations
  • Read HTML form data with JSP and Servlets
  • Include additional files in your JSP file for a standard look-and-feel
  • Manage application state with Sessions to track unique user actions
  • Leverage Cookies to personalize a web site for a specific user
  • Build a Multi-Lingual app using Internationlization with JSTL
  • Build an MVC application with JSP and Servlets
  • Add database support with JDBC: query, insert, update and delete
  • Build a complete database web app with JDBC


Student Reviews Prove This Course's Worth

Those who have reviewed the course have pointed out that the instruction is clear and easy to follow, as well as thorough and highly informative. Other students enjoy the use of relevant examples throughout the course, as these make the content even easier to comprehend.

Many students had also taken other JSP courses in the past, only to find that this JSP course was their favorite. They enjoyed the structure of the content and the high quality audio/video.

Check out all of the great reviews in the review section ... a lot of happy students :-)

Compared to other JSP/Servlet courses

This course includes updated content released in December 2016. This course is fully up to date and covers the latest JSP 2.3 and Servlet 3.1. Also, all code examples make use of the latest Java 8 version.

Beware of other Udemy JSP/Servlet courses. Most of them are outdated and use old versions of JSP and Servlets. Don’t waste your time or money on learning outdated technology.

Most importantly, this course is project based and you'll build a real JSP/Servlets web application that connects to a database ... all from scratch.

I am a very responsive instructor and I am available to answer your questions and help you work through any problems.

Finally, all source code is provided with the course along with setup instructions.

Quality Material

You will receive a quality course, with solid technical material and excellent audio and video production. This is my fourth course at Udemy.

My first three courses on Udemy were:

  • Eclipse IDE for Beginners
  • Java Database Connection (JDBC)
  • JavaServer Faces (JSF) for Beginners


These courses have received rave 5 star reviews and over 60,000 students have taken the courses. Also, these courses are the most popular courses in their respective categories.

I also have an active YouTube channel where I post regular videos. In the past year, I’ve created over 300 video tutorials (public and private). My YouTube channel has over 2 million views. So I understand what works and what doesn’t work for creating video tutorials.


No Risk – Money-Back Guarantee

Finally, there is no risk. You can preview 25% of the course for free. Once you purchase the course, if for some reason you are not happy with the course, Udemy offers a 30-day money back guarantee.

So you have nothing to lose, sign up for this course and learn how to build JSP/Servlet applications from scratch!

Target Audience

Java Developers with basic Java experience

What are the requirements?

  • Basic Java knowledge is required
  • Basic HTML knowledge is helpful

What am I going to get from this course?

  • Build a fully functioning JSP and Servlets web application from scratch
  • Set up your JSP/Servlet development environment with Tomcat and Eclipse
  • Explore JSP scripting elements: Expressions, Scriptlets and Declarations
  • Read HTML form data with JSP and Servlets
  • Manage application state with Sessions to track unique user actions
  • Leverage Cookies to personalize a web site for a specific user
  • Integrate the JSP Standard Tag Library (JSTL) to minimize scriptlet code
  • Build a Multi-Lingual app using Internationalization and JSTL
  • Build an MVC application with JSP and Servlets
  • Generate HTML Tables with JSP and Servlets
  • Add database support with JDBC: query, insert, update and delete
  • Build a complete database web app with JDBC

What is the target audience?

  • The course is appropriate for all Java developers: beginners to advanced

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: Course Introduction
Introduction
Preview
01:39
2 pages

Updated to include code through Lecture 50. 31 Dec 2015

Download PDFs of All Lectures
2 pages
How To Take This Course - Type the Code with Me!
Article
How To Get Help
Article
Closed Captions and Subtitles Available for English
Article
Section 2: Getting Started with JSP
JSP and Servlets Overview
Preview
04:15
FAQ: Are JSP and Servlets still used in 2016? ... umm yep!
Article
Setting Up the Development Environment Overview
Preview
01:36
INSTALL TOMCAT 8 ONLY
Article
Installing Tomcat on MS Windows
Preview
05:07
Install Tomcat on Mac
05:46
Installing Eclipse on MS Windows
04:48
Install Eclipse on Mac
04:11
Connecting Eclipse to Tomcat
02:47
FAQ: HELP! - Can't Start Tomcat - Ports are in Use!
Article
Section 3: JSP Fundamentals
JSP Hello World
Preview
07:46
JSP Expressions
07:25
JSP Scriptlets
05:18
JSP Declarations
05:22
Calling a Java Class from JSP
07:02
JSP Built-In Objects
05:21
Including Files in JSP
05:24
Section 4: Reading HTML Form Data with JSP
HTML Forms Overview - Part 1
Preview
04:21
HTML Forms Overview - Part 2
04:26
Drop-Down Lists
07:26
Radio Buttons
07:16
Checkboxes - Overview
03:27
Checkboxes - Write some Code!
06:55
FAQ: How to handle when user doesn't select a checkbox?
Article
Section 5: State Management with JSP
Tracking user actions with Sessions - Overview
Preview
08:17
Tracking user actions with Sessions - Write some Code!
10:35
FAQ: For TO DO list example, I'm able to enter empty items. How to fix this?
Article
FAQ: Details on PageContext and Session objects
Article
Personalize Content with Cookies - Overview
12:22
Personalize Content with Cookies - App Demo
03:03
Personalize Content with Cookies - Write some Code!
11:50
Section 6: JSP Standard Tag Library (JSTL) - Core Tags
JSP Tags Overview
Preview
05:25
JSTL - CORRECTION FOR URL - Part 1
Article
Installing JSTL - Part 1
06:13
JSTL - CORRECTION FOR URL - Part 2
Article
Installing JSTL - Part 2
02:11
FAQ: Why Two JAR files for JSTL?
Article
JSTL Core Tags - Looping with forEach - Overview
05:19
JSTL Core Tags - Looping with forEach - Write some Code!
03:19
JSTL Core Tags - Looping with forEach - Building HTML Tables
11:07
FAQ: Reading Cookies with JSTL
Article
JSTL Core Tags - Testing Conditionals with the IF tag
05:08
JSTL Core Tags - choose Tag
03:58
Section 7: JSP Standard Tag Library (JSTL) - Function Tags
JSTL Function Tags - length, toUpperCase and startsWith
06:12
JSTL Function Tags - split and join
06:48
Section 8: Build a Multi-Lingual App with JSTL - i18n Tags
Multi-Lingual / Internationalization Overview
Preview
05:35
Multi-Lingual / Internationalization Messages
09:03
Build a Multi-Lingual App with JSTL - Step 1
07:17
Build a Multi-Lingual App with JSTL - Step 2
03:40
Build a Multi-Lingual App with JSTL - Step 3
07:58
Section 9: Servlet Fundamentals
Hello World Servlet - Overview
Preview
03:47
Hello World Servlet - Let's Write some Code
Preview
08:32
Comparing Servlets and JSP - What's the Difference
03:21
Reading HTML Form Data with Servlets - Overview
02:29
Reading HTML Form Data with Servlets - Let's Write some Code
07:23
HTML Forms - Difference between GET and POST
04:33
Reading Servlet Parameters - Overview
04:19
Reading Servlet Parameters - Let's Write some Code
07:57
FAQ: Can you define per servlet parameters?
Article
FAQ: How To Redirect from JSP to Servlet?
Article
Section 10: MVC - Build an MVC App with Servlets and JSP
MVC with Servlets and JSP - Overview
Preview
05:19
MVC with Servlets and JSP - Let's Write some Code
Preview
08:58
MVC with Servlets and JSP - In More Detail
02:04
MVC with Servlets and JSP - Part 1 - Create Student Class
03:27
MVC with Servlets and JSP - Part 2 - Create StudentDataUtil
03:59
MVC with Servlets and JSP - Part 3 - Create MVC Servlet
04:35
MVC with Servlets and JSP - Part 4 - Create JSP View with HTML Tables
07:41
Section 11: Build A Complete Database Web App with JDBC - Part 1
Project Overview and Demo
Preview
03:56
Download JDBC Source Code
03:23
Installing the MySQL Database on MS Windows
04:41
Installing the MySQL Database on Mac
Article
Setting up our Project Database with Sample Data
04:56
Setup Tomcat Datasource for Connection Pooling
07:11
Test Tomcat Connection Pooling
13:46
Resources: Tune and Configure Tomcat JDBC Connection Pool for Production Use
Article
MVC Application Architecture
Preview
02:18
Section 12: Build A Complete Database Web App with JDBC - Part 2
List Students - Overview
Preview
05:36
List Students - Creating the JDBC Code
11:51
List Students - Building the Servlet
11:03
List Students - Developing the JSP
09:00
List Students - Making it Pretty with Cascading Style Sheets (CSS)
03:59
List Students - Adding JSTL Functionality
07:44

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Chad Darby, Popular Java Instructor - 60,000+ Students

Chád (shod) Darby is an author, instructor and speaker in the Java development world.

Chád is a contributing author to several Java books, including Professional Java E-Commerce (Wrox Press), Beginning Java Networking (Wrox Press), and XML and Web Services Unleashed (Sams Publishing).

Chád has Java certifications from Oracle and IBM. He holds a B.S. in Computer Science from Carnegie Mellon University.

Ready to start learning?
Take This Course