What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
Author and all-around good cowpoke
posted 6 years ago
A question which can easily be answered by study of the Servlet API.