Servlets
Servlets
Servlets
The servlet is removed from service, destroyed with the destroy() methid, then
garbaged collected and finalized.
TOP
Q:Explain ServletContext.
A: ServletContext interface is a window for a servlet to view it's environment. A
servlet can use this interface to get information such as initialization parameters
for the web applicationor servlet container's version. Every web application has
one and only one ServletContext and is accessible to all active resource of that
application.
TOP
ServletConfig: The object created after a servlet is instantiated and its default
constructor is read. It is created to pass initialization information to the servlet.
[ Received from Sivagopal Balivada ] TOP