pandian raman wrote:
You mean the servlet config will initilized for each and every servlet request.
servlet get initialized in init method. and there is only one instance for a servlet regardless request.
container creates thread for every request and runs on a single servlet instance.
So, Only one time servlet config get initialized and it is used to get servlet specific values from web.xml also to get ServletContext object.
Joined: Jun 21, 2011
Cool man, i have absolutely got your point. I am clear now, thanks dude.