-1

.jar ファイルを実行する php スクリプトがあります。

<?php
passthru("java -jar nlp-server.jar 9000");
?>

I want to display the output generated by this .jar-file on a website. The problematic part is the fact that the .jar-file doesnt finish executing because its a server-application. Thus navigating to the php-file wont help and I didnt manage to make AJAX work either.

Is there a way to display the "live" output of the .jar-file on a website?

4

2 に答える 2