Hi,

I have a Vector v which contains object People.
I put this vector into the session in one servlet (s1).
I am using RequestDispatcher method to call second servlet (s2).

In s2 when I try to get values from the vector I get ClassCastException
People p = (People)(v.elementAt(i));

Any help would be appreciated.

Thanks
Amit

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to