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

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();
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.