You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Vitor George <vi...@poli.usp.br> on 2004/01/15 16:16:45 UTC

Form Parameters

Hi,

Can I get form parameters before using PostMethod, like I do in httpunit?

Thanks,
Vitor.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Form Parameters

Posted by Ryan Lubke <Ry...@Sun.COM>.
Try HtmlUnit (http://htmlunit.sourceforge.net)

It uses HttpClient for the HTTP communication layer.



On Thu, 2004-01-15 at 12:29, Vitor George wrote:
> Hi,
> 
> Do you know a html parser that can be plugged to httpclient? I can't use 
> httpunit because it don't support connection timeouts.
> 
> Regards,
> Vitor.
> 
> Michael Becke wrote:
> 
> > Hi Vitor,
> >
> > HttpClient is just a HTTP client library.  It does not provide support 
> > for parsing HTML.
> >
> > Mike
> >
> > On Jan 15, 2004, at 10:16 AM, Vitor George wrote:
> >
> >> Hi,
> >>
> >> Can I get form parameters before using PostMethod, like I do in 
> >> httpunit?
> >>
> >> Thanks,
> >> Vitor.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: 
> >> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: 
> >> commons-httpclient-dev-help@jakarta.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: 
> > commons-httpclient-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: 
> > commons-httpclient-dev-help@jakarta.apache.org
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
-- 
Ryan Lubke <Ry...@Sun.COM>
Sun Microsystems, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Form Parameters

Posted by Vitor George <vi...@poli.usp.br>.
Hi,

Do you know a html parser that can be plugged to httpclient? I can't use 
httpunit because it don't support connection timeouts.

Regards,
Vitor.

Michael Becke wrote:

> Hi Vitor,
>
> HttpClient is just a HTTP client library.  It does not provide support 
> for parsing HTML.
>
> Mike
>
> On Jan 15, 2004, at 10:16 AM, Vitor George wrote:
>
>> Hi,
>>
>> Can I get form parameters before using PostMethod, like I do in 
>> httpunit?
>>
>> Thanks,
>> Vitor.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> commons-httpclient-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: 
>> commons-httpclient-dev-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Re: Form Parameters

Posted by Michael Becke <be...@u.washington.edu>.
Hi Vitor,

HttpClient is just a HTTP client library.  It does not provide support 
for parsing HTML.

Mike

On Jan 15, 2004, at 10:16 AM, Vitor George wrote:

> Hi,
>
> Can I get form parameters before using PostMethod, like I do in 
> httpunit?
>
> Thanks,
> Vitor.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> commons-httpclient-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org