For Programmers: Free Programming Magazines  


Home > Archive > Java Help > June 2007 > httpclient









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author httpclient
Shane

2007-06-19, 10:11 pm

Hi all
I am trying to get started with httpclient, but in all honesty I dont know
how to set everything up.

I have downloaded the httpclient tarball from the commons website, I have
unzipped that tarball, and moved everything into the workspace/project that
I want to use it. But I still egt an error when I try to

import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.methods.*;
import org.apache.commons.httpclient.params.HttpMethodParams;

Any ideas?
TIA
--
Q: What did the constipated mathematician do?
A: He worked it out with a pencil!

Shane

2007-06-19, 10:11 pm

Shane wrote:

> Hi all
> I am trying to get started with httpclient, but in all honesty I dont know
> how to set everything up.
>
> I have downloaded the httpclient tarball from the commons website, I have
> unzipped that tarball, and moved everything into the workspace/project
> that
> I want to use it. But I still egt an error when I try to
>
> import org.apache.commons.httpclient.*;
> import org.apache.commons.httpclient.methods.*;
> import org.apache.commons.httpclient.params.HttpMethodParams;
>
> Any ideas?
> TIA


crisis over, I had to add the external jars (three of them) to the libraries

--
Q: Why do mathematicians often confuse Christmas and Halloween?
A: Because Oct 31 = Dec 25.

Roedy Green

2007-06-20, 8:10 am

On Wed, 20 Jun 2007 11:42:37 +1200, Shane <shane@weasel.is-a-g.net>
wrote, quoted or indirectly quoted someone who said :

>Any ideas?


another approach is to get the file I/O amanuensis to generate the
code for you. See http://mindprod.com/applets/fileio.html

You can look at the source code for submitter to see it in action.

http://mindprod.com/products1.html#SUBMITTER
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com