This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Servlet container uses ServletConfig object to pass the information during its initialization.ServeltConfig object will have servletContextObject. You can get initialization params and ServeletContext object from ServeletConfig object. ServeltContext Object is used by servelets to communicate with servelt container.look in api to see the methods. A webapplication( having servelts,beans,jsp)will have one servletContext instance.info can be placed in servletContext instance inorder to be shared by entire webapplication.