This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Can a G�R� answer my question ... Why the getRequest() method of a PageContext Object is returning a ServletResponse reference (actually a reference pointing to an object that implements the ServletResponse interface) instead of returning a reference to an object implementing the HttpServletResponse interface ?
<a href="http://www.javablackbelt.com/?utm_source=javaranch&utm_medium=signature&utm_campaign=Forum%2BBuzz" target="_blank" rel="nofollow">BlackBeltFactory Communtiy</a> founder - Building better developers<br /><b>Free</b> courses and mock exams
posted 14 years ago
This allows for Support of a system using something other than HTTP. The entire servlet package is founded on the fact that other implementations may be developed to support other protocals. I haven't seen a good working example of any.