hello

i have the following problem: i am creating some threads (MyThread) that i
put into a vector. i then put that vector into the Application object - no
problem

i then have another jsp page that display the size and the content of the
vector.
so i do a:

Vector threadList=(Vector)Application.getAttribute("ThreadList");

for(int x=0;x<threadList;x++)
{
    MyThread t=(MyThread)threadList.elementAt(x);
    ....
}

i get a ClassCastException when trying to cast the object of the vector into
a MyThread object

i am not sure about what could be the problem
i've made MyThread serializable just in case but no luck there too

i am using jrun23 on nt and linux - i am having the above problem on linux
and have not tried it on nt yet

any ideas?
thanks

fabrice

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to