File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Header information on Response" Watch "Header information on Response" New topic

Header information on Response

Harikrishna Gorrepati
Ranch Hand

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

OCPJP 6.0-81% | Preparing for OCWCD | |
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Header information on Response
It's not a secret anymore!