Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How To Fetch The Contents of the website into our java application ?

 
Manish Sahni
Ranch Hand
Posts: 41
Java Netscape Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,,

My question is :-

How can i fetch some of the contents(not all) from a particular website in my java application.
Is their any way ?

Like if the site contains some link and i want to fetch those links and those link should redirect me to the same page as the website does....

Please Help me out!!

 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you asking about crawling/spidering a site? You'll find a few such libraries on java-source.net.
 
Manish Sahni
Ranch Hand
Posts: 41
Java Netscape Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,

yes crawling is a good way of collecting information.
However do let me know about the process involved and the procedure involved (link if any)as i am a newbie and want to finish the task.

thanks
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could start be reading the documentation of one or more of those libraries; I'm sure they come with example code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic