Claude,
Thanks for the pointer, but no cigar.
As I suspected before testing, it still returns something like:
HTTP/1.0 204 No content
Date: Sun, 25 Jun 2000 12:43:35 GMT
Server: Microsoft-IIS/5.0 ServletExec/3.0
Content-Type: text/html; charset=iso-8859-1
While I'd like to avoid even the first "H" on the first line.
Any other ideas?
Cheers,
--Amos Shapira
WebCollage
> -----Original Message-----
> From: Claude HONNORE [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 25, 2000 1:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Servlet which returns zero bytes?
>
>
> Bonjour ..
> If you want no response from the servlet engine to a request,
> you have to
> code SC_NO_CONTENT in the response ..
> See the API servlets HttpServletResponse for that ..
> And nothing is returned by the server ..
>
> Claude HONNORE
>
> ----- Original Message -----
> From: "Amos Shapira" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, June 25, 2000 11:41 AM
> Subject: Servlet which returns zero bytes?
>
>
> > Hello,
> >
> > We use servlets and JSP to provide a sample test site to
> our product and
> > would
> > like to test the way it behaves when *absolutely nothing*
> is returned (in
> > terms
> > of C/sockets it would be "close (accept (s));").
> >
> > We tried simply closing the connection from doGet but it
> seems not to
> > impress
> > the Servlet engine (ServletExec 3.0).
> >
> > Is this possible at all with servlets?
> >
> > Thanks,
> >
> > --Amos Shapira
> > WebCollage
> >
> >
> ______________________________________________________________
> _____________
> > 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