jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes servlet send data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet send data" Watch "servlet send data" New topic

servlet send data

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
Does anyone have any idea on how to do the following.
Send a bunch of data to another server at once , after the first result is received the second one is send, when the second result is received the third is send and so on and so forth. I am implementing this in servlets using sockets and threads. Actually a user click on a few checkboxes on a page, the page send to a servlet with all the checked values and the servlet then send the values to the server. I hope this is not complicating and impossible. I appreciate any example codes. Thanks
Arnold Reuser
Ranch Hand

Joined: Nov 20, 2003
Posts: 196
When I'm correct:
You want to exchange information between two web applications on two differente web servers.
Otherwise the solution is more easy. When you don't want to use EJB's, and introduce an application server instead of a web server, you can use the following project : http://jakarta.apache.org/commons/httpclient/
I've used it several years ago and it is very straightforward.
When you experience any problems, just ask.
I agree. Here's the link: http://aspose.com/file-tools
subject: servlet send data
It's not a secret anymore!