Hi Gayatri/Harish,
By invoking getHeader() or getHeaders(), u can access thise headers
only which are part of request, not the response.
To know the response either use java client and read inputStream OR use some
tool Available
LIKE PROTOCOLEXPLORER, Which will show u all the response header.
Awdhesh kumar
----- Original Message -----
From: Gayathri Palicherla <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 14, 2002 7:31 PM
Subject: Re: headers
> Harish,
>
> Look at javax.servlet.http.HttpServletRequest class In the API Docs,
there is a metod called getHeader(java.lang.String name) and there are some
other methods in the same class which returns Header Information.
>
> I hope this helps,
> Gayathri.
>
> >>Hi,
>
> >>I am invoking a servlet from a browser. How can I view the http
headers >>of
> >>the servlet response.
>
> >>please help
>
> >>Harish
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html