Re: Jigsaw2.0beta1 and recompiled to get Servlet support working

 Your servlet package seems to be the old one. The next release (next 
 week) will have the servlet package compatible with JSDK2.0.

 Benoit 

Tarang Kumar Patel writes:

> 
> 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
> 
> 


- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
---------------------------------------------------------------------

Received on Friday, 3 July 1998 05:07:29 UTC