use getHeaders
-----Original Message-----
From: Nitin Khattar [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 18, 2000 11:54 AM
To: [EMAIL PROTECTED]
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