HTTP, like many protocols is based on (to some degree) Telnet.
In fact one way of testing a server is to Telnet to port 80, and type in
somthing like "HEAD / HTTP/1.0" (hit enter twice).
It would probably be easier to build a small java app that listens
on port 80, and on the first blank line, just closes the connection.
On Sun, 25 Jun 2000, Nic Ferrier wrote:
> >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.
>
> This is under the control of the servlet container.
>
> Read my post from a couple of weeks back about how the servlet
> handles close()s.
>
> The only thing you could do would be to:
>
> System.exit();
>
> But since you are using an IIS tie in that probably won't work either
> - the servlet container might shutdown but IIS will probably handle
> the response.
>
> Why on earth do you want to do this? It seems a bit mad.
>
>
> Nic Ferrier
>
___________________________________________________________________________
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