This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Where does ServletContect come in the hierarchy ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Where does ServletContect come in the hierarchy ?" Watch "Where does ServletContect come in the hierarchy ?" New topic
Author

Where does ServletContect come in the hierarchy ?

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

ServletContext is used by ServletConfig.


[My Blog]
All roads lead to JavaRanch
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Where does ServletContect come in the hierarchy ?
 
Similar Threads
GenericServlet and HttpServlet
Why dont we use GenericServlet
jspInit()
Basic Servlet Doubt
Why HttpServlet also implements Serializable?