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