aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes How Can Build A Connetion Between Server And Client With HTTP? 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 » EJB and other Java EE Technologies
Reply Bookmark "How Can Build A Connetion Between Server And Client With HTTP?" Watch "How Can Build A Connetion Between Server And Client With HTTP?" New topic
Author

How Can Build A Connetion Between Server And Client With HTTP?

Richard Yi
Greenhorn

Joined: Feb 04, 2004
Posts: 16
Busyness logic and DB have been done. The remainder simple task is write an application client that building a connetion to server and deliver the parameter(e.g String) with this connection.
However, the server just can accept HTTP request, but not socket. My question is: how can build HTTP connetion and deliver the parameter? Very appreciate if you can provide some codes in details.
Thank you!
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The easiest way could be to do something like:


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Richard Yi
Greenhorn

Joined: Feb 04, 2004
Posts: 16
En~~~~~,Lasse Koskela, Would you pls give some comments? I think your code seem to how to read info from client, but not how to send info to server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How Can Build A Connetion Between Server And Client With HTTP?
 
Similar Threads
Simple Build/Make Script
How to sent file to client by socket?
J2se server and J2me client
sending mail to multiple receipients
Applet getResource() from Server or Client?