Nội dung text Unit - 4.pdf
Unit-4 Introducing Servlets 1 Background 2 The Life Cycle of a Servlet Servlet Development Options Using Tomcat 3 A Simple Servlet 3.a Create and Compile the Servlet Source Code 3.b Start Tomcat 3.c Start a Web Browser and Request the Servlet 4 The Servlet API 5 The javax.servlet Package A The Servlet Interface B The ServletConfig Interface C The ServletContext Interface D The ServletRequest Interface E The ServletResponse Interface F The GenericServlet Class G The ServletInputStream Class H The ServletOutputStream Class I The Servlet Exception Classes 6 Reading Servlet Parameters 7 The javax.servlet.http Package A The HttpServletRequest Interface B The HttpServletResponse Interface C The HttpSession Interface D The Cookie Class E The HttpServlet Class 8 Handling HTTP Requests and Responses a Handling HTTP GET Requests b Handling HTTP POST Requests 9 Using Cookies 10 Session Tracking 11 Introduction to JSP a Using JSP b Comparing JSP with Servlet c Java Web Frameworks 1 https://ctal-advancejava.blogspot.com/