File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes What is the relation  Them? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "What is the relation  Them?" Watch "What is the relation  Them?" New topic
Author

What is the relation Them?

pengpeng lin
Greenhorn

Joined: Dec 24, 2005
Posts: 26
Hi,everybody! I'm a java fan from China.I found this site in happen by google. since my English is pool,I can only ask some simpple question.
This is my first question below.

What is the relation between ServletContext,ServletConfig,Servlet?

Can anybody help me?
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Originally posted by pengpeng lin:
Hi,everybody! I'm a java fan from China.I found this site in happen by google. since my English is pool,I can only ask some simpple question.
This is my first question below.

What is the relation between ServletContext,ServletConfig,Servlet?

Can anybody help me?


servlet context is application scope object, whatever you will store in that, you can access (get) that in any part of application.

servlet config is specific to a particular servlet.

servlet is web component that actually serves the request.

Please ask more questions, I liked it.

pengpeng lin
Greenhorn

Joined: Dec 24, 2005
Posts: 26
Thanks a lot,Friend.You are so kind.
 
Don't get me started about those stupid light bulbs.
 
subject: What is the relation Them?