This is the scenario: I have a php script that builds html and echoes it to the browser. Just before html is echoed, I need to call executable java jar file and pass it the html so it could process it and return it back to php to be echoed out.This is the scenario: I have a php script that