Originally posted by amit bhadre:
What is diff b/w servletContext and servletConfig?
servletContext - application scope object - all part of application can access it.
servletConfig -
servlet scope object - only that servlet it belongs to can access it.