httpurlconnection problem
In my applcation if i use urlConn.setDoOutput(true), it gives me ...
java.lang.IllegalStateException: Already connected
at java.net.URLConnection.setDoOutput(URLConnection.java:739)
And if i dont use this function, this code gives ...
java.net.ProtocolException: cannot write to a URLConnection if doOutput=false -
call setDoOutput(true).
how to get rid of this error pls help.thanks in advance.

