Hi Jair,
See I'd already opened an URL like this at client side
BufferedReader httpbr=null;
String url = "http://localhost:8080/MyApp/loginClient?uid="+user_name+"&pid="+password;
URL opr1_url=new URL(url);
httpbr = new BufferedReader(new InputStreamReader(opr1_url.openStream()));
And from server side I had generated a respose (success or failure).
If failure I need to send two parameters "failure" and "message for the same"
If success I need to send one paramerter "success".
How sholud I send this from server to client and read the same at client side.