wood burning stoves*
The moose likes Servlets and the fly likes Header information on Response 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 "Header information on Response" Watch "Header information on Response" New topic
Author

Header information on Response

Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Hi, How to get HTTP header information from the response object. Please share some some


OCPJP 6.0-81% | Preparing for OCWCD
http://www.certpal.com/blogs/cert-articles | http://sites.google.com/site/mostlyjava/scwcd |
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

If you are using Servlets 3.0, a perusal of the Javadoc for HttpServletResponse would be in order.

There is no support for reading response headers prior to that.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Header information on Response
 
Similar Threads
Setting Refresh header not refreshing to specified URL
Servlet Model.1.3?
Response header
Setting headers on Http Request
Servlet Headers Problem