posted 13 years ago
HtttpServlet is an abstract class with no abstract methods that means each method in the class has its default implementation.
In that case :
1)what is Default implementation of service(ServletRequest req, ServletResponse res) method in HttpServlet Class.
2)Is the following flow correct for calling methods in HttpServlet Class?
I) container calls service(ServletRequest req, ServletResponse res) method.
II) then from above method
protected void service(HttpServletRequest req, HttpServletResponse resp) method will be called
III)After depending on request type doGet() or doPost() method will be called form
protected void service(HttpServletRequest req, HttpServletResponse resp)
Thank You.
Manish