Alex, On 4/10/06, Alex <[EMAIL PROTECTED]> 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 [email protected] (I have copied to that list). > > > > > > Thanks > > > Bindul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
