How to search a keyword in the website using Java
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.............
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)