Servlet Tutorial 2 - Servlet API, GenericServlet, HttpServlet by Thakur Arjun Singh

Опубликовано: 04 Август 2026
на канале: Arjun Thakur
25,734
92

For complete list of videos please visit    • Java Servlet Tutorials by Arjun  
Servlet interface and it's methods:

void init(ServletConfig config)

void service(ServletRequest req, ServletResponse res)

void destroy()

ServletConfig getServletConfig()

java.lang.String getServletInfo()


HttpServlet abstract class and it's methods including handler methods.
protected void doDelete(HttpServletRequest req, HttpServletResponse resp)

protected void doGet(HttpServletRequest req, HttpServletResponse resp)

protected void doPost(HttpServletRequest req, HttpServletResponse resp)

protected void doPut(HttpServletRequest req, HttpServletResponse resp)

protected void service(HttpServletRequest req, HttpServletResponse resp)

void service(ServletRequest req, ServletResponse res)