Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

JSP, Servlets and JDBC for Beginners: Build a Database App

JSP, Servlets và JDBC cho Người Mới: Xây Dựng Ứng Dụng Cơ Sở Dữ Liệu

JSP, Servlets và JDBC cho Người Mới: Xây Dựng Ứng Dụng Cơ Sở Dữ Liệu

JSP: Bao gồm JSP 2.3 và Servlets 3.1 - Khóa học JSP/Servlet phổ biến nhất

4.6
(12,506 đánh giá)
59,046 học viên
Giảng viên
Chad Darby
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
9.0 giờ video
117 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 17/03/2026

Bạn sẽ học được gì

Xây dựng một ứng dụng web JSP và Servlets hoàn chỉnh từ đầu
Thiết lập môi trường phát triển JSP/Servlet với Tomcat và Eclipse
Khám phá các phần tử kịch bản JSP: Biểu thức, Scriptlets và Khai báo
Đọc dữ liệu biểu mẫu HTML với JSP và Servlets
Quản lý trạng thái ứng dụng với Sessions để theo dõi hành động người dùng
Tận dụng Cookies để cá nhân hóa trang web cho một người dùng cụ thể
Tích hợp Thư viện Thẻ Chuẩn JSP (JSTL) để giảm thiểu mã scriptlet
Xây dựng ứng dụng Đa Ngôn ngữ bằng Internationalization và JSTL
Xây dựng ứng dụng MVC với JSP và Servlets
Tạo Bảng HTML với JSP và Servlets
Thêm hỗ trợ cơ sở dữ liệu với JDBC: truy vấn, chèn, cập nhật và xóa
Xây dựng ứng dụng web cơ sở dữ liệu hoàn chỉnh với JDBC

Yêu cầu

Yêu cầu kiến thức Java cơ bản
Kiến thức HTML cơ bản sẽ hữu ích

Đối tượng phù hợp

Khóa học phù hợp với tất cả lập trình viên Java: từ mới bắt đầu đến nâng cao

Nội dung khóa học

18 phần • 117 bài giảng
1 Giới thiệu
2 Tải Mã Nguồn và PDF
3 Cách Học Khóa Này - Gõ Code Cùng Tôi!
4 Cách Nhận Trợ Giúp
5 Có phụ đề và bản dịch tiếng Anh
1 Tổng quan về JSP và Servlets
2 Câu hỏi thường gặp: JSP và Servlets có còn được dùng vào năm 2025 không?
3 Tổng quan Thiết lập Môi trường Phát triển
4 Cài đặt Tomcat trên MS Windows
5 Cài đặt Tomcat trên Mac
6 Cài đặt Eclipse trên MS Windows
7 Cài đặt Eclipse trên Mac
8 Kết nối Eclipse với Tomcat
9 Câu hỏi thường gặp: GIÚP TÔI! - Không thể Khởi động Tomcat - Cổng đang được sử dụng!
1 JSP Hello World
2 Biểu thức JSP
3 Scriptlets JSP
4 Khai báo JSP
5 Gọi một Lớp Java từ JSP
6 Các Đối tượng Tích hợp sẵn trong JSP
7 Bao gồm Tệp trong JSP
1 Tổng quan về Biểu mẫu HTML - Phần 1
2 Tổng quan về Biểu mẫu HTML - Phần 2
3 Danh sách Thả xuống
4 Nút Radio
5 Checkboxes - Tổng quan
6 Checkboxes - Viết một số Code!
7 Câu hỏi thường gặp: Xử lý thế nào khi người dùng không chọn checkbox?
1 Theo dõi hành động người dùng với Sessions - Tổng quan
2 Theo dõi hành động người dùng với Sessions - Viết một số Code!
3 Câu hỏi thường gặp: Theo dõi Session - Demo TO DO LIST hoạt động thế nào?
4 Câu hỏi thường gặp: Với ví dụ TO DO list, tôi có thể nhập mục trống. Sửa thế nào?
5 Câu hỏi thường gặp: Làm sao để Ngăn Mục Trùng lặp khi Tải lại Trình duyệt?
6 Câu hỏi thường gặp: Chi tiết về đối tượng PageContext và Session
7 Cá nhân hóa Nội dung với Cookies - Tổng quan
8 Cá nhân hóa Nội dung với Cookies - Demo Ứng dụng
9 Cá nhân hóa Nội dung với Cookies - Viết một số Code!
10 Câu hỏi thường gặp: Xử lý Khoảng trắng trong Giá trị Cookie thế nào?
1 Tổng quan về Thẻ JSP
2 Cài đặt tệp JAR JSTL
3 Tôi có thể tải tệp JAR JSTL từ đâu trên Internet?
4 Câu hỏi thường gặp: Tại sao cần hai tệp JAR cho JSTL?
5 Thẻ Cốt lõi JSTL - Lặp với forEach - Tổng quan
6 Thẻ Cốt lõi JSTL - Thiết lập Dự án
7 Thẻ Cốt lõi JSTL - Lặp với forEach - Viết một số Code!
8 Thẻ Cốt lõi JSTL - Lặp với forEach - Xây dựng Bảng HTML
9 Câu hỏi thường gặp: Đọc Cookies với JSTL
10 Thẻ Cốt lõi JSTL - Kiểm tra Điều kiện với thẻ IF
11 Thẻ Cốt lõi JSTL - Thẻ choose
1 Thẻ Hàm JSTL - length, toUpperCase và startsWith
2 Thẻ Hàm JSTL - split và join
1 Đa Ngôn ngữ / Internationalization - Tổng quan
2 Đa Ngôn ngữ / Internationalization - Thông điệp
3 Xây dựng Ứng dụng Đa Ngôn ngữ với JSTL - Bước 1
4 Xây dựng Ứng dụng Đa Ngôn ngữ với JSTL - Bước 2
5 Xây dựng Ứng dụng Đa Ngôn ngữ với JSTL - Bước 3
1 Hello World Servlet - Tổng quan
2 Hello World Servlet - Hãy Viết một số Code
3 So sánh Servlets và JSP - Điểm Khác biệt là gì
4 Đọc Dữ liệu Biểu mẫu HTML với Servlets - Tổng quan
5 Đọc Dữ liệu Biểu mẫu HTML với Servlets - Hãy Viết một số Code
6 Biểu mẫu HTML - Sự khác biệt giữa GET và POST
7 Đọc Tham số Servlet - Tổng quan
8 Đọc Tham số Servlet - Hãy Viết một số Code
9 Câu hỏi thường gặp: Bạn có thể định nghĩa tham số cho từng servlet không?
10 Câu hỏi thường gặp: Làm thế nào để Chuyển hướng từ JSP sang Servlet?
1 MVC với Servlets và JSP - Tổng quan
2 MVC với Servlets và JSP - Hãy Viết một số Code
3 MVC với Servlets và JSP - Chi tiết hơn
4 MVC với Servlets và JSP - Phần 1 - Tạo Lớp Student
5 MVC với Servlets và JSP - Phần 2 - Tạo StudentDataUtil
6 MVC với Servlets và JSP - Phần 3 - Tạo MVC Servlet
7 MVC với Servlets và JSP - Phần 4 - Tạo JSP View với Bảng HTML
1 Tổng quan Dự án và Demo
2 Tải Mã Nguồn JDBC
3 Cài đặt Cơ sở Dữ liệu MySQL trên MS Windows
4 Cài đặt Cơ sở Dữ liệu MySQL trên Mac
5 Thiết lập Cơ sở Dữ liệu Dự án với Dữ liệu Mẫu
6 Thiết lập Tomcat Datasource cho Connection Pooling
7 LƯU Ý - Thay đổi cho MySQL Database Server phiên bản 8
8 Kiểm tra Tomcat Connection Pooling
9 Tài nguyên: Tinh chỉnh và Cấu hình Tomcat JDBC Connection Pool cho Môi trường Sản xuất
10 Kiến trúc Ứng dụng MVC
1 Danh sách Sinh viên - Tổng quan
2 Danh sách Sinh viên - Tạo mã JDBC
3 Danh sách Sinh viên - Xây dựng Servlet
4 Danh sách Sinh viên - Phát triển JSP
5 Danh sách Sinh viên - Làm đẹp với Cascading Style Sheets (CSS)
6 Danh sách Sinh viên - Thêm Chức năng JSTL
7 Danh sách Sinh viên - Thêm Tệp Chào mừng
1 Thêm Sinh viên - Tổng quan
2 Thêm Sinh viên - Thiết lập Nút
3 Thêm Sinh viên - Xây dựng Biểu mẫu HTML
4 Thêm Sinh viên - Phát triển Servlet
5 Thêm Sinh viên - Tạo mã JDBC
1 Cập nhật Sinh viên - Tổng quan
2 Cập nhật Sinh viên - Tạo Liên kết Cập nhật
3 Cập nhật Sinh viên - Điền sẵn Biểu mẫu HTML - Phần 1
4 Cập nhật Sinh viên - Điền sẵn Biểu mẫu HTML - Phần 2
5 Cập nhật Sinh viên - Phát triển Servlet
6 Cập nhật Sinh viên - Tạo mã JDBC
1 Xóa Sinh viên - Tổng quan
2 Xóa Sinh viên - Tạo Liên kết Xóa
3 Xóa Sinh viên - Phát triển Servlet và mã JDBC
1 Ôn tập Dự án JDBC
2 Cảm ơn và Vui lòng Đánh giá khóa học
1 Câu hỏi thường gặp - Triển khai lên Tomcat sử dụng tệp WAR
2 Câu hỏi thường gặp: Cách Import Dự án Eclipse
3 Giải quyết Vấn đề: Nhấn Nút Refresh/Reload dẫn đến thêm sinh viên giống nhau
4 Câu hỏi thường gặp: Cách sử dụng Bootstrap với JSP
5 Cách Bảo mật Ứng dụng Web của bạn - Bảo mật
6 Câu hỏi thường gặp: Dữ liệu Nhạy cảm trong URL? Có lẽ nên dùng POST thay thế??
7 Câu hỏi thường gặp: Cách sử dụng Maven với Dự án JSP-Servlet
8 Câu hỏi thường gặp: Cách sử dụng Maven với Dự án Student Tracker
9 Câu hỏi thường gặp: Cách thêm tính năng Tìm kiếm vào Ứng dụng?
10 Câu hỏi thường gặp: Cách ngăn chặn trường trống trong dự án Student Tracker?
1 Phần thưởng

Giới thiệu khóa học

The Most Popular JSP/Servlet course!

Join 56,000+ students that are already enrolled!

Over 11,000+ Reviews! (the most reviews for any JSP/Servlet course on Udemy)

---

Build a JDBC Database Web App with JSP and Servlets - CRUD: query, insert, update and delete

By the end of this course, you will create all of the source code for a complete MVC CRUD application.

You will type in every line of code with me in the videos ... all from scratch.

I explain every line of code that we create. So this isn't a copy/paste exercise, you will have a full understanding of the code.

---
Sample Reviews

★★★★★

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
---

Covers JSP 2.3 and Servlet 3.1

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

Responsive Instructor - All questions answered within 24 hours

---

All source code is available for download

PDFs of all the slides available for download

---

Professional video and audio recordings (check the free previews)

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

---

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 

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 4.5 million views. So I understand what works and what doesn’t work for creating video tutorials.


No Risk – Udemy Refund 

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 refund (based on Udemy's Refund Policy).

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

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Java
Hiển thị tất cả khoá học Jsp
Hiển thị tất cả khoá học Servlets
Hiển thị tất cả khoá học Web Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊