• Post Reply Bookmark Topic Watch Topic
  • New Topic

Downloading HTML files  RSS feed

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a java bean that will simply download all the files from the server. But while downloading HTML it won't download included files and images. some one please assist me to do that.
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Parse the HTML pages, retrieve the links from it, and download those as well. You can create an entire webcrawler like that if you download hyperlinks as well, and parse those as well etc.

If you do a search for HTML parsing I'm sure you'll find some nice results.
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too difficult a question for us beginners. Moving.
 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer this Example will help you.
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No it won't. It has nothing to do with this problem. Meet does not want to create links, he wants to automically follow links.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vinoth Thirunavukarasu wrote:Refer this Example will help you.

This is a bad example. Don't ever stream files from JSPs, they won't be faithfully recreated.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!