> I started off wanting to view the response headers.
> how to
> view the response headers.
1) You can use a packet sniffer. This can tell you what is coming and
going..
2) You can write a small program which sits between your browser and the
site you are trying to connect to. You can catch all the headers and the
body there.
> thanks
> Nitin
regds,
Gokul
----- Original Message -----
From: "Kevin Jones" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 19, 2000 3:37 PM
Subject: Re: the doHead() method
> Nitin,
>
> what exactly are you trying to do?
>
> Both POST and GET return the headers. The only difference with HEAD is
that
> it reurns the headers but no data?
>
> Kevin Jones
> DevelopMentor
> www.develop.com
>
> > -----Original Message-----
> > From: A mailing list for discussion about Sun Microsystem's Java Servlet
> > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nitin
> > Khattar
> > Sent: 19 September 2000 07:35
> > To: [EMAIL PROTECTED]
> > Subject: Re: the doHead() method
> >
> >
> > Even Netscape 6 doesn't support the doHead method . I cannot
> > believe this.
> > Can somebody name at least one browser which supports the HEAD method?
> >
> > Is there any other way(except the doHead() method) by which i can see
the
> > response headers?
> >
> > any help will be greatly appreciated.
> >
> > regards
> > Nitin
> >
> > ----- Original Message -----
> > From: "nitin" <[EMAIL PROTECTED]>
> > To: "A mailing list for discussion about Sun Microsystem's Java
> > Servlet API
> > Technology." <[EMAIL PROTECTED]>
> > Sent: Monday, September 18, 2000 11:54 AM
> > Subject: Re: the doHead() method
> >
> >
> > > I tried it on IE 5.0 and Netscape 4.7. it doesn't work on either.
> > > ----- Original Message -----
> > > From: "Matthias Carlsson" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, September 19, 2000 6:03 PM
> > > Subject: SV: the doHead() method
> > >
> > >
> > > > I'm not 100% sure about this one, but I believe your browser doesn't
> > > > support the HEAD method and therefore uses the default one - GET -
> > > > when calling your servlet.
> > > >
> > > > [ Matthias Carlsson ]
> > > > [ Programmer (Java, CGI/Perl, Javascript, HTML) ] [ Web Designer ]
> > > > [ E-Mail : [EMAIL PROTECTED] ] [ ICQ: 1430647 ]
> > > >
> > > > > -----Ursprungligt meddelande-----
> > > > > Fr�n: A mailing list for discussion about Sun Microsystem's Java
> > Servlet
> > > > > API Technology. [mailto:[EMAIL PROTECTED]]F�r Nitin
> > Khattar
> > > > > Skickat: den 17 september 2000 10:39
> > > > > Till: [EMAIL PROTECTED]
> > > > > �mne: the doHead() method
> > > > >
> > > > >
> > > > > hi
> > > > >
> > > > > I want to see only the headers of the response.
> > > > > So i called the HEAD method. However the browser prints the
data(as
> > it
> > > > > would if i had called the GET method) instead of printing the
> > headers.
> > > > >
> > > > > can anyone point out whats going wrong?
> > > > >
> > > > > Thanks
> > > > > Nitin
> > > > >
> > > > > __________________________________________________________________
> > > > > _________
> > > > > > 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
> > > >
> > > >
> > >
> > >
> >
>
___________________________________________________________________________
> > > 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
>
>
___________________________________________________________________________
> 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
___________________________________________________________________________
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