Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does ServletContect come in the hierarchy ?

 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Servlet , ServletConfig and Serializable ( all 3 are interfaces)

Also GenericServlet(Abstract class) implements all the above metnioned interfaces.

Also HttpServlet(Abstract class) extends GenericServlet.

Also UserDefinedServlet extends HttpServlet.




HttpServletRequest extends ServletRequest and HttpServletResponse extends ServletResponse.

Now where does ServletContext come in the hierarcy ?

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ServletContext is used by ServletConfig.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean, where does it come in the hierarchy? Its place in the hierarchy is shown explicitly in the Javadocs, which are available by clicking on the linkified ServletContext in any of these posts. It *has* no hierarchy, it simply is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic