Results 1 to 3 of 3
  1. #1
    ishdevil is offline Member
    Join Date
    Dec 2009
    Posts
    5
    Rep Power
    0

    Default Finding web links

    Hey guys,

    I was just wondering if anyone knows how to retrieve all of the links from a website.

    I have heard of applications like Xenu and Link Checker, but it would be easier for me to just have it in java code.

    Any help will be appreciated.

    Thanks guys.:)

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    842
    Rep Power
    6

    Default

    Hi,
    Go thu this code.Might help you very well.

    http://java.sun.com/developer/techni...ebCrawler.java
    Ramya:cool:

  3. #3
    ishdevil is offline Member
    Join Date
    Dec 2009
    Posts
    5
    Rep Power
    0

    Default

    Hey buddy,

    Thanks for the reply.

    The code works great.
    I'm just having a bit of trouble understanding it.

    You see, I want to put in bit of code that will make your program output the list of links found.
    Also, I do not need the GUI (even though it looks cool).

    If you could help me out with this, I would really appreciate it.

    Thanks,
    Brent

Similar Threads

  1. help me..how to get links in html file
    By thangbomlennet in forum New To Java
    Replies: 13
    Last Post: 11-03-2012, 05:31 PM
  2. links between variables
    By Keerti in forum New To Java
    Replies: 2
    Last Post: 08-12-2008, 03:07 PM
  3. how to add links (Action) to a combo box
    By impact in forum New To Java
    Replies: 2
    Last Post: 05-03-2008, 07:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •