The Artima Developer Community
Sponsored Link

Web Services Forum
Servlet Context

1 reply on 1 page. Most recent reply: Nov 18, 2003 1:24 AM by Viswanatha Basavalingappa

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
aravinda

Posts: 3
Nickname: aravinda
Registered: Oct, 2003

Servlet Context Posted: Oct 21, 2003 4:47 AM
Reply to this message Reply
Advertisement
Can anyone please explain me the significance of the Servlet Context from the basic


Viswanatha Basavalingappa

Posts: 84
Nickname: viswagb
Registered: Nov, 2003

Re: Servlet Context Posted: Nov 18, 2003 1:24 AM
Reply to this message Reply
An object containing servlet information about the Web application of which the servlet is a part. Using the context,
1. A servlet can log events,
2. Obtain URL references to resources, and
3. Set and store context attributes for other servlets in the same context.

The ServletContext interface gives servlets access to information about their environment, and allows them to log significant events. Servlet writers decide what data to log. The interface is implemented by services, and used by servlets.
more on API look here..
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContext.html

Flat View: This topic has 1 reply on 1 page
Topic: Records In JSp & backend Differ ?? Previous Topic   Next Topic Topic: JAX-RPC and JAXM together?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use