dcsimg
HttpConnection
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Jyri_Saastamoinen
Posted On:   Monday, February 2, 2004 06:53 AM

Hey.

I need to make a HttpConnection to server to get some XML docs
on response. I need to pass 3 parameters which define what XML doc I am looking for.

tia JJ

Re: HttpConnection

Posted By:   Massimiliano_Ragazzi  
Posted On:   Monday, February 2, 2004 08:52 AM

You can use a similar code


URL u=new URL("http://www.pincopallo.com");

URLConnection connection = u.openConnection();

connection.setDoInput(true);

InputStream inStream = connection.getInputStream();

BufferedReader input = new BufferedReader(new InputStreamReader(inStream));


and pass your variable in POST/GET


Bye

Massimiliano

Re: HttpConnection

Posted By:   Benoit_Quintin  
Posted On:   Monday, February 2, 2004 08:20 AM

and I need some time off!

Do you think we'll do it for you or was there a hidden question in there ???

About | Sitemap | Contact