Re: ClassCastException error

2002-09-13 Thread Michael Lee

Need more info.
What app server?
What jdk?
Stack trace?
Offensive code?
Mike

- Original Message -
From: "Jason Reilly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 13, 2002 12:01 AM
Subject: ClassCastException error


>
> Let's say I have a Vector of objects.  I put that Vector into the
> session in my Action.perform() method.  I then do a generic forward to
> a jsp.  Nothing fancy here But, when I try to access that Vector
> in a jsp, I am getting a ClassCastException on the objects in the
> Vector.  When I do a getClass().getName() on any of the objects in the
> Vector, it returns the exact object that I originally put in the
> Vector.  So I am assuming that it is a ClassLoader issue.  I was told
> to rearrange the jars in my classpath, but that did not resolve
> anything.  Does anyone have any insight into how I might resolve this?
>
> jdr
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




ClassCastException error

2002-09-12 Thread Jason Reilly


Let's say I have a Vector of objects.  I put that Vector into the
session in my Action.perform() method.  I then do a generic forward to
a jsp.  Nothing fancy here But, when I try to access that Vector
in a jsp, I am getting a ClassCastException on the objects in the
Vector.  When I do a getClass().getName() on any of the objects in the
Vector, it returns the exact object that I originally put in the
Vector.  So I am assuming that it is a ClassLoader issue.  I was told
to rearrange the jars in my classpath, but that did not resolve
anything.  Does anyone have any insight into how I might resolve this?

jdr

--
To unsubscribe, e-mail:   
For additional commands, e-mail: