This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet headers" Watch "Servlet headers" New topic
Author

Servlet headers

Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
Though this might be an elementary question, i would like to know what the request and response headers are and the purpose of them
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

The header could info about the browser, its version, the Locale info, cookies.


Groovy
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
You should locate the documentation for the HTTP protocol, which if I remember correctly is called RFC2616. Here is the first thing that pops up in Google when searching for "RFC2616" - it defines exactly what the standard headers are and how they are used.
The servlet container does all the work of parsing the request headers and creating the response headers for you.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet headers
 
Similar Threads
reading SESSIONID header.
URL in a IFRAME
getting the timezone from the request
Can anybody help to getrid of this error?
running servlet after the browser is closed