I have a php script which is executed over a URL. (e.g. www.something.com/myscript?param=xy)
When this script is executed in a browser it gives a coded result, a negative or positive number.
I want to execute this script from Java code(J2EE) and store that result in some object.
I'm trying to use httpURLConnection
for that.
I establish a connection but can not fetch the result. I'm not sure if I execute the script at all.