从PHP发送数据到Java应用程序

从PHP发送数据到Java应用程序

问题描述:

我有一个登录页面,PHP应用程序。我想这个用户名和密码发到我的验证的Java应用程序。是否有任何想法如何从PHP页面的数据发送到java应用程序?是否有任何建议,我可以检索从PHP的数据发送到Java应用程序?是我的想法尽可能PHP是在服务器端,而Java应用程序适用于客户端。如何通过PHP和Java应用程序之间的数据?或者,我需要知道JSP做这样的任务呢?所有建议都欢迎!谢谢。

I have a PHP application with a login page. I would like to send this username and password to my java application for authentication. Is there any idea how can send the data from PHP page to java application? Is there any suggestion that I can retrieve data from PHP to send to java application? Is my idea possible as PHP is on server side while java application works on client side. How to pass data between PHP and java application? Or I need to know JSP to do such task? All suggestions are welcomed!! thanks.

http://www.roseindia.net/answers/viewqa/JSP-Servlet/12153-Sending-form-data-from-HTML-page-to-SQLserver-2005-database-by-calling-servlet-$c$c.html

找到这个链接,你会得到很好的例子来解决你的problem..Just你必须做出JDBC连接进行进一步的操作。

find this link, you will get nice example to solve your problem..Just you have make jdbc connections for further operations..