Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Servlet-Interview-Questions difference between init() & init(ServletConfig config)?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


MangaRao Arepalli
difference between init() & init(ServletConfig config)?
1 Answer(s)      2 years and 3 months ago
Posted in : Servlet Interview Questions


I want to know the difference between init() and init(ServletConfig config) methods in GenericServlet.


Advertisement
View Answers

October 10, 2012 at 4:59 PM


Hi MangaRao,

The Generic servlet contain two types of inti methods they are

void init(ServletConfig) and init().

 in this init(ServletConfig) internally call to init() method like

init(ServletConfig config) {
         inti();
 }


Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com