Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to paas Query String thru URLConnection

Status
Not open for further replies.

rubalsidhu

Programmer
Feb 28, 2002
1
IN
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top