Originally posted by meena latha:
Thanks Henry....
I will be great if you can tell me how to do that.
Basically i am getting ClassCastException.
Thanks
Meena,
You can't cast a hashtable array into a hashtable. There is no "how to do that", you can't cast something into something else that it is not.
You have two choices to fix this -- and it depends on what you are trying to do. You can add() a hashtable instead of the hashtable array, at the line previously. Or you can cast it to a hashtable array, and dereference it to the hashtable that you want.
Henry