aspose file tools
The moose likes Servlets and the fly likes About HttpServletRequest Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "About HttpServletRequest Interface" Watch "About HttpServletRequest Interface" New topic
Author

About HttpServletRequest Interface

anil kumar
Ranch Hand

Joined: Feb 23, 2007
Posts: 447
Hi

HttpServletRequest,HttpServletResponse both are interfaces.So the methods which are present in these two interfaces will be implemented by the container vendor.But where is he giving that implementation?? means on which class is he giving that implementation?



Thanks

Anil Kumar
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It depends on the container.

The following code will show you exactly what class implements HttpRequest:


In Tomcat, this code prints:
org.apache.catalina.connector.RequestFacade
[ March 27, 2008: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
anil kumar
Ranch Hand

Joined: Feb 23, 2007
Posts: 447
Hi

Ben

Thanks i got it.


Thanks

Anil Kumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About HttpServletRequest Interface
 
Similar Threads
HttpServletRequest instance transmission over Apache Axis
Please explain me Service()
Q: Data type for JSP implicit objects
getParameter() and other methods....
How do I use the CacheRowSet?