Ø
Please note that init
(ServletConfig config) is defined in Servlet Interface and it is the actual life cycle method.
Ø Abstract Classes Genericservlet has only init()
A convenience method which can be overridden so that there's no need to call super.init(config)
Ø HttpServlet service method implementation is nothing but to find http method type of request like get , post and call appropriate doGet,doPost,do*….. methods
Ø Never override HttpServlet service method
No comments:
Post a Comment