1.

What Is The Importance Of Init() Method In Servlet?

Answer»

INIT() method is one of the life cycle method of servlet. This method runs once in total life. After servlet INSTANCE created and before it HANDLES request the init() method will work. Its basically USED for initializing VALUES at the time of application startup.

init() method is one of the life cycle method of servlet. This method runs once in total life. After servlet instance created and before it handles request the init() method will work. Its basically used for initializing values at the time of application startup.



Discussion

No Comment Found