Javascript

Need help? Post your questions here.

Moderator: moderators

Javascript

Postby ileezaa » Mon Apr 12, 2010 11:44 am

How would I write code in Java to read a html page from the internet and execute javascript within it? I need to connect to a web site, download the home page, then search for a particular link within. I have achieved this, however the link I require is dynamically generated when the page loads using javascript, so my HTML parser in Java cannot see it. If anyone knows how to load a HTML file and execute the javascript in Java, please let me know.
_______________________
external keyword tool ~ keyworddiscovery.com ~ keycompete.com ~ compete.com ~ webmasterworld.com
Last edited by ileezaa on Thu Apr 15, 2010 9:38 am, edited 1 time in total.
ileezaa
 
Posts: 1
Joined: Fri Apr 09, 2010 9:45 am

Postby burjast » Mon Apr 12, 2010 12:34 pm

I think, if i'm not mistaken, this forum is not about learning java. Learn java, read tutorials, or maybe a hint for reading -> google with: "parsing web pages with java" or similar.
burjast
 
Posts: 71
Joined: Mon Jul 20, 2009 9:00 am
Location: Slovenia


Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests