If all you need to do is to give the GET request response to an external resource, simple vanilla in your PHP response, then you can use file_get_contents()for this.
<?php echo file_get_contents("http://example.com/someservlet"); ?>
The servlet method will be called doGet()and any response that it returns (which may even be a JSP forwarded) will be printed as a PHP response string.
, , POST -, curl(). PHP .
, , , HTML, , HTML. , <html> . PHP w3 validator, . HTML, <body> <iframe>.
<iframe src="http://example.com/someservlet"></iframe>