How to download temporary files as well as web page
I am writing an application using JDK. I use URL class to create URLConnection to download a web page to parse out some strings and etc.
It works fine if I only parse string in its html page.
As we all know, using IE to open a web page will download all temporary files at "Temporary Internet Files" folder, image file, mp3, and etc
How can I write Java application by using URL/URLConnection/HttpURLConnection classes to not only download a web but all media or objects used by the page and be able to access to those objects WITHOUT opening IE?
I have been searching and reading all over the place and could not find any clue. I would really appreciate it if some experts share some tips here of how to do it.