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)