This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi I have an applet and a servlet. They use http and object-serialization. The communication between them works as long as I send objects only in one direction (either applet->servlet or servlet->applet). But when the servlet should return some objects straightly after receiving an object from the applet, the applet receives nothing. Thanks
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
1
posted
0
Try it without closing the outputToServlet stream until after you read the input from servlet. I suspect that closing that stream closes the whole connection. Performing the flush() is enough to complete sending the object. Bill
I suppose, that I've tried now every sequence of new ObjectOutputStream/-InputStream, write/readObject, flush and close I don't understand why it doesn't work hopless Richard