On 4 Nov 2005, at 11:41, Starsscream Desepticon wrote:
> Thanks!
>
> But I still have the problem, that execute() returns
> java.lang.Object. I cannot cast the response
> (Object) to the original object, because it is a byte array. So how
> can I get my original object?
You say you get an exception when you cast the result to byte[]?
can you put this in your code and post the output?
System.out.println(o.getClass().getName());
Then cast o to byte[] and post the stack trace
John Wilson
The Wilson Partnership
http://www.wilson.co.uk
|