Posted By:
Anonymous
Posted On:
Saturday, September 29, 2001 10:47 PM
Hi Guy's !!! A "User-Defined Object" or a "String Object" is passed from the server to the Client.On the client-side,how should it be determined which type of object has been passed. For Instance,if a String object is passed then InputStream in = new BufferedReader(new InputStreamReader(....)) and readLine() would be used. However,when a user-defined object is passed then ObjectInputStream() and readObject() would be used to obtain the data. How should the type of object passed in the stream be determined ? Pls suggest. Thanks Guy's
More>>
Hi Guy's !!!
A "User-Defined Object" or a "String Object" is passed from the server to the Client.On the client-side,how should it be determined which type of object has been passed.
For Instance,if a String object is passed then
InputStream in = new BufferedReader(new InputStreamReader(....))
and readLine() would be used.
However,when a user-defined object is passed then
ObjectInputStream() and
readObject() would be used to obtain the data.
How should the type of object passed in the stream be determined ?
Pls suggest.
Thanks Guy's
<<Less