This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
ServletConfig is for one particular servlet, ServletContext is for whole web application within one JVM. Both can be used for configuration, context also for storing attributes that need to be accessible for the whole application.
SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Sachin Ramesh Vir
Joined: Sep 15, 2005
thanks for your reply,
Can I know what is an attribute? Whether it is differ from the parameters?(though very silly questions, which I can able to understand the concept very well)