*
The moose likes Servlets and the fly likes reuse of HTTP connection with POST method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "reuse of HTTP connection with POST method" Watch "reuse of HTTP connection with POST method" New topic
Author

reuse of HTTP connection with POST method

jing zhang
Greenhorn

Joined: Dec 06, 2002
Posts: 2
I open an HTTP connection from the MIDLet to a Severlet once. And I want to use this connection to exchange several messagges between before I close the connection.
I have a send method which open and close the inputStream when a message is sent, and also a read method in the MIDLet to get the response.
I have a normal Servlet with doPost method inside.
It seems only the first message sent right after the connection setup can arrive at the Servlet, not any of the following messages.
Does anybody here have some experience about this?
I am listening for your advice.
jing zhang
Greenhorn

Joined: Dec 06, 2002
Posts: 2
is what i think impossible? :roll:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reuse of HTTP connection with POST method
 
Similar Threads
When to open MessageConnection (Push Registry)?
Real world network delay problem
Reusing Network Connection
doubt Midlet-ProxyServlet
custom midlet-servlet chat app problem