commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bindul Bhowmik" <bindulbhow...@gmail.com>
Subject Re: [httpclient] how to imitate scripting enable browser property
Date Tue, 11 Apr 2006 04:15:40 GMT
Alex,

On 4/10/06, Alex <alexny20@optonline.net> wrote:
> Does anybody know how to 'imitate' and setup a javascript enabled browser
> with httpclient or whatever else? I need to login to a URL (which gives form
> if javascript is enabled), and get its Inputstream. (source code of the
> form, etc)

HttpClient is not a browser. To achieve what you are looking for you
will need a javascript parser. You may use httpclient to execute HTTP
requests only.

In your case, I think the page you are trying to get runs some kind of
test to check if javascript is enabled on the browser. So you will
have to imitate that, but HttpClient will not help you in that, it can
only get the page data for you.

Hope this helps.

By the way, commons-user is not the correct mailing list for http
client related queries. You should direct your emails to
httpclient-user@jakarta.apache.org (I have copied to that list).
>
>
>
>
>
> Thanks
>
>
>

Bindul

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


Mime
View raw message