• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with the object serialization and stream

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic