The following code is used to include the methods which I asked earlier to you "setDoInput() & setDoOutput()".
private URL url;
URLConnection ucon;
Uconnection(
String Serv)
{
try{url=new URL("http://localhost:8080/servlet/"+Serv);
ucon=url.openConnection();
ucon.setUseCaches(false);
ucon.setDoOutput(true);
ucon.setDoInput(true);
Now can you identify? or eable to understand my doubt?
Then please give the solution.
Thank you
Jyotsna.