aspose file tools*
The moose likes Beginning Java and the fly likes Objects to capture!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Objects to capture!!" Watch "Objects to capture!!" New topic
Author

Objects to capture!!

karthik ts
Greenhorn

Joined: Feb 16, 2001
Posts: 7
Hello,
here's a problem, really annoying!!
somebody tell me why is'nt the server not able to print the Objects of the Client.
The Client sets the vector object into the stream and the server is ready to capture the object. But unable to find where the hole is in printing the objects captured by the server. Have a look at this below.


(edited by Cindy to format code)

[This message has been edited by Cindy Glass (edited February 17, 2001).]
Rikard_Qvarforth
Greenhorn

Joined: Feb 06, 2001
Posts: 6
humm i am not sure but i think you are writing down the Vector object but maby not the element in the vector try
"Object get(int index)"
hope this helps
Rille


Sun Certified Programmer for Java 2 Platform
Grant Crofton
Ranch Hand

Joined: Nov 08, 2000
Posts: 154
Yeah, you're passing the whole Vector to the stream - you either need to pass an element of the vector like Rikard said or have the Server looking for Vectors instead of Strings and processing them accordingly.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Objects to capture!!