aspose file tools
The moose likes Servlets and the fly likes reuse of HTTP connection with POST method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: reuse of HTTP connection with POST method
 
Similar Threads
doubt Midlet-ProxyServlet
Real world network delay problem
custom midlet-servlet chat app problem
When to open MessageConnection (Push Registry)?
Reusing Network Connection