File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes This client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "This client" Watch "This client" New topic

This client

amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
What is This client?

What is diff b/w servletContext and servletConfig?

Thanks advance who ever answers this question.

amit bhadre
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by amit bhadre:

What is diff b/w servletContext and servletConfig?

servletContext - application scope object - all part of application can access it.

servletConfig - servlet scope object - only that servlet it belongs to can access it.

I agree. Here's the link:
subject: This client
It's not a secret anymore!