| 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
|
|
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.
|
 |
 |
|
|
subject: How Can Build A Connetion Between Server And Client With HTTP?
|
|
|