Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

structure of HttpServletRequest object and the request url mechanism

Status
Not open for further replies.

lovekang

Programmer
Feb 16, 2006
86
KR
API says about getInputStream() of HttpServletRequest is like this.
Retrieves the body of the request as binary data using a ServletInputStream.
then request is composed of headers and body.
and body is composed of parameters and their values.
and headers can be viewed with getHeaders(java.lang.String name)
and body can be viewed with getInputStream().
right?
tell me more about request objects structure.
and I want to know what information is sent to the server or servlet when a user request a url.
Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top