Jigsaw2.0beta1 and recompiled to get Servlet support working

Hi,

  Having re-compiled Jigsaw2.0beta1, I reconfigured the "servlets" directory
  except now I get the following error:

HTTP/1.1 500 Internal Server Error Connection: keep-alive Date: Thu, 02 Jul
1998 18:01:27 GMT Content-Length: 91 Content-Type: text/html Server:
Jigsaw/2.0beta1 Servlet has thrown
exception:java.lang.IllegalArgumentException: sun.io.CharToBytetext/html>

  Any clues why that would be so ?

 I used to get a java.lang.illegalAccessError: Unimplemented interface method.
 when using the downloaded jigsaw.zip file, i.e until re-compiling.

 The fact that JSDK2.0 release of javax.servlet interface had a method
 getCharacterEncoding() which was not implemented in

 org/w3c/jigsaw/servlet/JigsawHttpServletRequest.java

 may well have been the cause of this.

Anyways I implemented this as

 public String getCharacterEncoding() {
    // String enc = (request.getContentType()).toString();
    //     if (enc == null)
    //       enc = "text/plain";
    //     return enc;
    return null;
  }

 Any help is better then none, so it will be appreciated.

   Tarang

Received on Thursday, 2 July 1998 16:37:33 UTC