aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes How To Fetch The Contents of the website into our java application ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How To Fetch The Contents of the website into our java application ?" Watch "How To Fetch The Contents of the website into our java application ?" New topic
Author

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

Manish Sahni
Ranch Hand

Joined: Sep 09, 2009
Posts: 41

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
Marshal

Joined: Mar 22, 2005
Posts: 41509
    
  53
Are you asking about crawling/spidering a site? You'll find a few such libraries on java-source.net.


Ping & DNS - my free Android networking tools app
Manish Sahni
Ranch Hand

Joined: Sep 09, 2009
Posts: 41

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
Marshal

Joined: Mar 22, 2005
Posts: 41509
    
  53
You could start be reading the documentation of one or more of those libraries; I'm sure they come with example code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Fetch The Contents of the website into our java application ?