wood burning stoves 2.0*
The moose likes Servlets and the fly likes HttpServletResponse and HttpServletRequest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpServletResponse and HttpServletRequest" Watch "HttpServletResponse and HttpServletRequest" New topic
Author

HttpServletResponse and HttpServletRequest

sohaib rahman
Greenhorn

Joined: Jun 01, 2010
Posts: 20
What is the use of HttpServletResponse and HttpServletRequest?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

To respectively represent an http request and an http response. If you've never heard about that, you need to read some basics about the http protocol. There are some explanation at Wikipedia.


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

Joined: Sep 29, 2008
Posts: 12617

Did looking them up not help at *all*?! Is this an interview question? If so, I'm baffled for multiple reasons: if you're interviewing for a position for which you'd be asked this, I'd be concerned if you didn't know. If you didn't know, I'd be concerned you couldn't just look it up.
Alpesh Padra
Ranch Hand

Joined: Jan 10, 2010
Posts: 41
We should not discourage anybody.

Its part of HTTP protocol for communication between server and client.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpServletResponse and HttpServletRequest
 
Similar Threads
what should be output
Spring 2.5 MultiActionController methodNameResolver not working
Implementation classes for HttpServletRequest and HttpServletResponce
HttpServletRequestWrapper
servlets