tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <j...@wendysmoak.com>
Subject Re: Tomcat + HP-UX = NoSuchMethodError java.lang.String.contains(Ljava/lang/String;)
Date Fri, 03 Jun 2005 00:37:23 GMT
From: "Wendy Smoak" <java@wendysmoak.com>

> Any idea why String.contains(String) wouldn't work within Tomcat 4.1 on
> HP-UX and Java 1.5?

Now I'm *completely* mystified...

     test.jsp:
     <%  out.println( "ABC".contains( "A" ) );  %>

works fine (prints 'true' on the page).

Has anyone EVER seen behavior like this?  The same method works in a JSP but
does not work in .class files included in the .war?

I'm leaning towards 'obscure classloader issue in the HP-UX JVM' but I don't
really feel qualified to make that statement.  Can you help me prove it or
suggest an alternative?

-- 
Wendy Smoak


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