Thanks Nicolas

-----Original Message-----
From: Nicolas De Loof [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 06, 2006 7:35 AM
To: Jakarta Commons Users List
Subject: Re: [commons-httpclient3.0] Java Script enabling


You will have two options :
- use a tool that handle HTML + Javascript like a real browser (see 
HttpUnit)
- understand the way the site detects Javascript support. The welcome 
page may have a little script block that does some "window.location=..." 
or any other Form update / submission so that teh server can detect JS 
support.

Alex a écrit :
> In my previous message
> client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
> this seems to be working
> but
> Is there a way to set property or something so that browser thinks "Java
> Scripting" is enabled?
>
> I need to connect to a site (with java script being enabled) and read it's
> html source (whatever it is)
>
> Any help is appreciated
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   

This message contains information that may be privileged or confidential and
is the property of the Capgemini Group. It is intended only for the person
to whom it is addressed. If you are not the intended recipient,  you are not
authorized to read, print, retain, copy, disseminate,  distribute, or use
this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to