Rajesh Batchu wrote

        _outputStream.flush();
        _outputStream.close();

// receive response
_inputStream = new DataInputStream(new BufferedInputStream(_httpsConnection.getInputStream()));


OT: if you close the outputstream from URLConnection you will not be able to read the inputstream either.

Now the issue for me is , i need to capture the data that is posted by the java code above in my php page. I am not getting the value in any of the standard variables.


If your java code is sending a standard http request it will show up either in the $_REQUEST variable. You might want to write to the log file using error_log() so that you can get debuging information that way in case the response is not picked up by the java app.






--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to