I am currently working on a web application where I want to be able to access an object in another context. I am able to get the object and use its toString method, but I get a ClassCastException when I try to actually cast it. I'm thinking it's a classloader issue. Does anyone know a workaround for this? I'm using
Tomcat 5.0.25 and Windows XP. Here is a small piece of my code in a ServletContextListener.
[ September 17, 2004: Message edited by: Angel Dobbs-Sciortino ]