• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the relation Them?

 
pengpeng lin
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot,Friend.You are so kind.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic