viji m
Posts: 5
Nickname: vimwise
Registered: Oct, 2002
|
|
Re: Class Cast Exception
|
Posted: Oct 4, 2002 7:07 AM
|
|
Hi: I tried it the way you said, it still gives me the same error. But instead of using my own class, I tried storing my values in a Vector and put that in the Session object. This seems to be working fine for now. So I am going ahead with this.
But coming back to the original problem, I have used this method numerous times and its never given me a problem. It used to give me the same error on Java Web Server occassionally. But I read somewhere that the reason is, if we recompile the user defined class(TempStorage) sometimes, the server still refers to the old version and therefore when it casts it back, it gives an error. If you empty the cache manually, this becomes ok. I tried this on iPlanet, but it doesnt seem to work. Anyway, thanks for your time. I really appreciate it.
Have a good weekend.
|
|