W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Problems with servlet

From: Peter Schuller <scode@scode.webprovider.com>
Date: Sun, 13 Feb 2000 00:37:10 +0100
To: www-jigsaw@w3.org
Message-ID: <20000213003710.A5756@prometheus>
Hello,

I've been trying to get a servlet to work in Jigsaw, but am having some
problems (and I've had them before and given up).

I don't have a /servlet directory, so I want to add a servlet manually.

I have:

   * Created a ServletWrapper resource with the identifier "MailForm"
   * Verified it got a proper ServletWrapperFrame attached to it
   * Put the fully qualified class name in the servlet class field
     ("xxx.yyy.MailForm")
   * Made sure the package root is in the CLASSPATH
   * Restarted Jigsaw after every single configuration change (and verified
     the changes were saved and re-read)
   
But I am still getting nothing but a closed connection when I try to access
the resource (Netscape reports "the document contanied no data", and a
telnet session confirms that Jigsaw closes the connection after being given
the GET command). The logs contain nothing useful.

The servlet is never invoked, as is verified by some debug print-outs I've
made in the various methods.

What am I doing wrong? Other servlets seemingly configured the same way seem
to work. The difference is that those were configured by the default indexer
of the /servlet directory (which no longer exists, but that's another matter).

Thanks!

-- 
/ Peter Schuller

PGP userID: 0x5584BD98 or 'Peter Schuller <scode@scode.webprovider.com>'
Key retrival: Send an E-Mail to scode-getpgpkey@scode.webprovider.com
E-Mail: scode@scode.webprovider.com Web: http://www.scode.webprovider.com
Received on Saturday, 12 February 2000 18:36:23 GMT

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