What is the ServletConfig object, and why is it useful?
Created May 4, 2012
Troy Niven The ServletConfig object is an interface.
It contains the methods
getInitParameterYou can use the methods to determine the Servlet's initialization parameters, the name of the servlets instance, and a reference to the Servlet Context the servlet is running in.
getInitParameterNames
getServletContext
getServletName
getServletContext is the most valuable method, as it allows you to share information accross an application (context).
There is more information in the Javadoc documentation that is provided.
See also http://www.jguru.com/jguru/faq/view.jsp?EID=35085 and http://www.jguru.com/jguru/faq/view.jsp?EID=208612