Page 1 of 1

Javascript

PostPosted: Mon Apr 12, 2010 11:44 am
by ileezaa
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

PostPosted: Mon Apr 12, 2010 12:34 pm
by burjast
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.