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.