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