This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Servlet Config as the name suggests, provides Servlet specific configuration information to a particular servlet. For Example :- the information that u specify in the web.xml file like this
Each servlet will have its own servlet config object, which will be specific to that servlet.
ServletContext -------------- It provides application view to all the servlets. There is one ServletContext per JVM for one application. It also provides methods to access application wide parameters specified in <context-param>....</context-param> tag in web.xml.