This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 41137
    
  45
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: 41137
    
  45
You could start be reading the documentation of one or more of those libraries; I'm sure they come with example code.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How To Fetch The Contents of the website into our java application ?
 
Similar Threads
mock exam availability
Need help in java array
Getting Formatted Content from jEditorPane
How can i fetch some of the contents(not all) from a particular website in my java application.
Sun Java EXAMS !!!!