It's not a secret anymore!
The moose likes Servlets and the fly likes ServletConfig and ServletContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "ServletConfig and ServletContext" Watch "ServletConfig and ServletContext" New topic

ServletConfig and ServletContext

tmsenthil kumar

Joined: Aug 10, 2004
Posts: 11
Can any one tell me What is Servlet Config and What is Servlet Context and
What is difference between Servlet Config and Servlet Context?
Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
Differnce in both ?

Rahul Juneja
ThoughtClicks -
Pandurangan Rakesh

Joined: Jun 06, 2004
Posts: 24
Hi Senthil
ServletConfig is for each particular Servlet Whereas ServletContext is for a Servlet Application.

I agree. Here's the link:
subject: ServletConfig and ServletContext
It's not a secret anymore!