W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1998

Re: Log file entry: code 1001 -1 ??

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 27 Nov 1998 11:41:22 +0100 (MET)
To: Guido Paschke <wgp031@rzserv2.fh-lueneburg.de>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.05.9811271138470.21973-100000@tarantula.inria.fr>
On Thu, 26 Nov 1998, Guido Paschke wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> my questions concerns the following:
> 
> I'm writing a simple servlet that's reading an HTML document and
> inserts a style sheet url after the <head> element. The servlet works
> fine for the first request but the following requests are corrupted .
> The servlet log says that the servlet is initializing and the jigsaw
> log says:
> 193.174.33.99 - - [25/Nov/1998:11:09:16 +0] "GET
> http://193.174.33.99:8001/servlets/insertStyleSheet HTTP/1.1" 1001 -1 
> 
> What does 1001 mean ?? In the RFC2068 (HTTP1.1) 1001 is not defined.
> Ok here's the servlet code (the code is very alpha and I`don`t think
> very good...) :-((

Well, 1001 is an internal code. WHen a servlet is invoked, it gets the
OutputStream, at this point, the Jigsaw Reply object bump its state to
"DONE" 1001, as it can't know what the object that requested the output
stream will do with that. The -1 is the consequence of the same thing.
So it is not an error, just the fact that an external object (usually a
servlet) has handled the request.
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Friday, 27 November 1998 05:41:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:28 GMT