Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with ObjectInputStream and ObjectOutputStream..

Status
Not open for further replies.

digdogdig

Programmer
Mar 16, 2004
1
US
I'm working on a program where a send an object of class pack over a socket using an OIS and OOS. When first sent from the server and casted to the proper class type it works fine. But when I try to send back from the client to server that same object it ends up as a java.lang.String (???? very confused). Any general ideas why??

If code is needed I'll gladly post it.

Thanks for your help.
 
Yes, post some [relevant] code, I'm as confused as you ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top