commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex <alexn...@optonline.net>
Subject RE: [commons-httpclient3.0] Java Script enabling
Date Thu, 06 Apr 2006 11:38:36 GMT
Thanks Nicolas

-----Original Message-----
From: Nicolas De Loof [mailto:nicolas.deloof@capgemini.com] 
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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>   

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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
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