开发者

Java: how to listen for http POST request sent by php? [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicate:

How to facilitate communication between php script o开发者_如何学运维n a server to a running Java application on another server?

I have a php script that will send POST request containing string data to a Java application I wrote running on another server.

How do I make my Java application accept POST and read the string data ? I want Java application to listen for incoming string data sent via POST and, as soon as the string data is received, it will process the string data.

What library is used ?

OR Is it better to use sockets ? how would I accomplish the above ?


See other question: short answer is "Tomcat"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜