JSP Servlets course
Learn JSP Servlets step by step: 43 lessons in 10 modules with worked examples, quizzes and interview questions. Free on JavaSchoolLab.
Intro to Web & Servlets
- Web Architecture (Client–Server Model)
- HTTP & HTTPS Basics
- HTTP Request & Response Cycle
- Web Servers (Tomcat, GlassFish)
- Introduction to Servlets
- Servlet API & Lifecycle
Servlet Lifecycle
- Servlet Loading & Instantiation
- Servlet init() Method
- Servlet service() Method
- Servlet destroy() Method
- doGet() and doPost() Methods
Handling Req & Res
- HttpServletResponse
- HttpServletRequest
- Sending text/html Response
- Setting Content Type
- Sending Redirect (sendRedirect)
- RequestDispatcher (forward/include)
Form Handling
- Reading Form Data (getParameter)
- Handling GET vs POST
- Hidden Fields (Session Tracking Technique)
- URL Rewriting (Session Tracking Technique)
Session Management
Servlet Configuration
- web.xml (Deployment Descriptor)
- Servlet Mapping
- Init Parameters
- Context Parameters
- Annotations (@WebServlet)