tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanda John P <san...@cs.clemson.edu>
Subject RE: WebappClassLoader
Date Mon, 21 Apr 2003 16:13:53 GMT
The following code resulted in a ClassCastException.

<%
   WebappClassLoader loader =
      (WebappClassLoader)Thread.currentThread().getContextClassLoader();
%>

I guess Thread.currentThread().getContextClassLoader() doesn't return the
WebappClassLoader, but when I printed out its class name, it said
WebappClassLoader.

John Sanda, Clemson University Computer Science Dept.
(864)656-2844


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