Question { TCS, 59305 }
What is the difference between servlet config and servlet
context.
Answer
Both ServletConfig and ServletContext are configuration objects used by servlet container to initialize various init parameters for a web application. However they differ in terms of the scope and availability of init parameters defined by both of them.
Please see http://javashiksha.com/servlet-jsp/difference-between-servlet-config-and-servlet-context.html for more details