This cannot be overriden.
b. The init () method of servlet can be overridden. Remember the init () method is overloaded in the GenericServlet class. But the difference lies in which init method are u calling. If you override the init (ServletConfig config) method, then you will have to call explicitly super.init(config) inside your code. If you override the init () method, then u don’t have to call the super.init () method explicitly
SOURCE : www.referjava.com
No comments:
Post a Comment