Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSP and the fly likes response 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 » JSP
Bookmark "response Headers" Watch "response Headers" New topic
Author

response Headers

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
The response headers that we set,how can we view those at client end
[ June 01, 2008: Message edited by: Bear Bibeault ]

Thanks,
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
I use the excellent Firefox extension LiveHttpHeaders for this. It also shows the request headers and the response status code.


Ping & DNS - my free Android networking tools app
Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
I would like to know the headers that we mention in the document,where are they validated or how,where and when the execution of the headers take place?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
I don't understand what you're asking. What is "the document"?

Also, headers aren't "executed", they may be read by the receiving side, and sometimes they're used for making decisions on how to send the response. Obviously, the latter applies to request headers only. The most important purpose response headers are used for are probably content length and encoding, and setting cookies.

Are you asking about some specific header, or in the context of some specific issue?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: response Headers
 
Similar Threads
problem setting custom header in response
How to run a java application every 30 seconds?.
Writing Headers to response
addHeader and setHeader Methods
adding custom header