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

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 GMT

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