The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

diff

Posted by srini on April 02, 2001 at 12:21 AM

> Hi,
> What is difference between ServletContext & ServletConfig
> & what are there uses
> Thanx in Advance

> saddy


hi saddy,

ServletContext is an object where all the servlets loaded in
the webserver context is available, i.e servletcontext is used
to intercommunicate servlets.

ServletConfig is an object which can be used to get the
initial configuration details of an servlet. i.e servlet config
can be used to get the initialization details



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us