Monday, January 7, 2002 10:00 AM
Are you storing these in the session?
I've had a problem in the past when using a relodable JSP, I was pulling an object out of the session and casting it appropriately.
When the re-load occurred, the session kept the "old" objects, and the ClassLoader loaded a new copy of my class. When I tried to cast the object from the session, the newly loaded class wasn't the same, and boom! ClassCastException.
Are you getting a CCE on the Vector, or on one of your own classes? I found that this didn't happen with standard Java classes, because they were loaded using the primordial ClassLoader and not the one for the JSPs.