W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1998

Jigsaw2.0beta1 and recompiled to get Servlet support working

From: Tarang Kumar Patel <mombasa@ptolemy.arc.nasa.gov>
Date: Thu, 2 Jul 1998 14:13:02 -0400 (EDT)
Message-Id: <199807021811.LAA14337@kilimanjaro.arc.nasa.gov>
To: www-jigsaw@w3.org
cc: Trent@paradise.net.nz


  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


 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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:24 UTC