dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to search a keyword in the website using Java

  1. #1
    Join Date
    Apr 2005
    Posts
    1

    How to search a keyword in the website using Java

    Hi Everyone

    As I am new to Java I am unable to do this part using Java. I feel it more complex to do this part. I need some help on this.............

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,136
    is it Java or JavaScript you are after?
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    5,298
    You will need to parse each page and search its contents for the keyword. It can get tricky if you go into too much detail, such as disregarding HTML elements and client-side source.

    There are several ways to read files using the IO package supplied by Java. I usually use the InputStreamReader or FileReader objects. A google search will warrant some official documentation.

    Regards.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles