This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Sending asynchronous http POST requests Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Sending asynchronous http POST requests" Watch "Sending asynchronous http POST requests" New topic

Sending asynchronous http POST requests

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3640
How to send asynchronous http POST request ?

Server will just accept the request and will not reply with response.

My blood is tested +ve for Java.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

the HTTP protocol dictates that there will a response, but it may not be the response that you want eg the response is sent immediately but the server has not finished processing yet.
HTTP requires the client to pull information, therefore (typically) the client would then need to poll the server waiting for the real response to be sent from the server
I agree. Here's the link:
subject: Sending asynchronous http POST requests
jQuery in Action, 3rd edition