tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <jfarc...@apache.org>
Subject Re: TC 4 <-oreillyMultipart-> TC5
Date Wed, 03 Dec 2003 15:36:04 GMT
3 methods has been added to HttpServletRequest:

> public int getRemotePort()
> public java.lang.String getLocalName()
> public java.lang.String getLocalAddr()
> public int getLocalPort()


See section SRV.1.6.2

>
> Be aware that this addition causes source incompatibility in some 
> cases, such
> as when a developer implements the ServletRequest interface. In this 
> case, ensure
> that all the new methods are implemented.

That probably not related, but just double check to be sure.

-- Jeanfrancois


Dirk Griesbach wrote:

>Hi folks,
>I encountered a strange behaviour using 'oreilly's' multipartlibary (from Nov,2002):
>
>It works fine on TC 4.1.27 but exactly the same servlet and library with TC 5.0.12 and
5.0.14
>(just copied them) the error log reads:
>
>"java.lang.IllegalAccessError: 
>tried to access method com.oreilly.servlet.multipart.Part.<init>(Ljava/lang/String;)V

>from class com.oreilly.servlet.multipart.ParamPart
>"
>Class 'Part' IS public, so why this error on TC5 ? And no error on TC 4 ?
>
>Any suggestions ?
>
>greets
>
>grisi
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message