rubalsidhu
Programmer
plz tell me something related to passing querystring in urlconnection..i m opening a urlcon to
read a asp file..after closing connection and making it null I try to open second connection again and write data thru querystring but it is not receiving it at asp end...plz help..
i m writing some of the code below:
Url url=new URL(" [db is virtual directory]
urlCon = url.openConnection();
urlCon.setDoOutput( true );
urlCon.setRequestProperty("Content-Type","application/x- urlCon=null;
url=null;
and in asp i am receiving it as:
valfromapplet=trim(Request.QueryString("val")
if valfromapplet="something"
dosomething
end if
this code is successfull first time..but after second con it f
read a asp file..after closing connection and making it null I try to open second connection again and write data thru querystring but it is not receiving it at asp end...plz help..
i m writing some of the code below:
Url url=new URL(" [db is virtual directory]
urlCon = url.openConnection();
urlCon.setDoOutput( true );
urlCon.setRequestProperty("Content-Type","application/x- urlCon=null;
url=null;
and in asp i am receiving it as:
valfromapplet=trim(Request.QueryString("val")
if valfromapplet="something"
dosomething
end if
this code is successfull first time..but after second con it f