// Call into the PostProcess object which is the same for PERL and other script engine
// supported in the future.
ScriptPostProcess processor = new ScriptPostProcess();
processor.setInitalPage(page);
processor.postProcessPage(actionURL, PHPParameters.ACTION_PARAMETER_PHP);
String finalPage = processor.getFinalizedPage();
//Write the page to the HttpResponse
httpResponse.getWriter().println(finalPage);
}