pandian raman wrote:What is the functionality of both Servlet Context and Servlet Config and when both will get initilized and destroyed?
initialization:
ServletContext-after application deployed into server
ServletConfig-after servlet initialized(in init method)
destruction:
ServletContext-after application undeployed
ServletConfig-after servlet unloaded