Results 1 to 4 of 4
Thread: How to return Dom Source in Java
- 01-03-2012, 01:33 PM #1
Member
- Join Date
- Jan 2012
- Posts
- 2
- Rep Power
- 0
How to return Dom Source in Java
Hi,
A typical browser loads raw HTML, parses it, and builds a Document Object Model (DOM).
If the page includes JavaScript that is run when the page is loaded, the DOM can modified by the JavaScript code.
Please, I'm looking for a web browser crowler, witch can not only parses HTML but also applies JavaScript, and return the Dom with the modification.
Something like a program or suggestion witch can help me to return the Dom source (after applying JavaScript) of a website, as string.
Do you have an idea, please? Or code with return the Dom, please
Thanks,
Séraphine
- 01-03-2012, 05:22 PM #2
Re: How to return Dom Source in Java
It sticks in my mind that apache has a package for an embedded browser. I can't remember what it is called, and I don't know if it executes javascript or not, but if it did, it would be exactly what you'd want. Try browsing the apache commons, it might be lumped in with the apache http clients and such.
- 01-03-2012, 06:08 PM #3
Member
- Join Date
- Jan 2012
- Posts
- 2
- Rep Power
- 0
- 01-03-2012, 08:10 PM #4
Similar Threads
-
Web : frame source, not page source
By FunkyProg in forum New To JavaReplies: 0Last Post: 03-30-2011, 12:49 AM -
python source to java source converter?
By conor147 in forum New To JavaReplies: 0Last Post: 01-15-2010, 05:14 AM -
Java API source
By Mr.Beans in forum NetBeansReplies: 5Last Post: 04-10-2009, 04:02 AM -
Same source file but different source folders for different build configurations?
By m3anman in forum EclipseReplies: 0Last Post: 01-29-2009, 10:43 AM -
MavenJava - browse source code of all open source projects online
By jirkacelak in forum Java SoftwareReplies: 1Last Post: 11-28-2008, 06:27 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks