• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with the object serialization and stream

 
bond bond
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Actually i am working on the program which will serialize the vector object(using ObjectOutputStream's Class writeObject()) in the client program and in the server side i am deserializing that object by retreiving the inputstream from the request object like, request.getInputStream() but i am not getting the input Stream in the server side and if i am printing number of bytes present in the input stream in the server it is giving 0.
THis is my code


client side code is :::

and Server side code is ::::



JCE: please UseCodeTags
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have already been warned several times that your displayed name does not comply with the JavaRanch Naming Policy. You can change your displayed name by clicking on the "My Profile" link above. If you do not do so, your account will be closed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!