This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What is the relation Them?
 
Similar Threads
relationship between classes
Referential Integrity
SCEA part 2. Strange domain model
Secrets and Love
(LONG POST) IBM's OOAD Test 486 Mock Exam Questions!