aspose file tools
The moose likes Servlets and the fly likes servlet send data 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 "servlet send data" Watch "servlet send data" New topic
Author

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: 193
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: servlet send data
 
Similar Threads
HttpUrlConnection class problem
multiple connections with URLConnection
How To bind html form field's value to session id..
AJAX with servlets
sending session object from servlt-multiple jsp's