Hi , I want to make and application that read the HTML file from from website and want to take some action depending upon the information present in that HTML file(suppose in HTML file somewhere if ARR word present then i want to send a mail in respective person which is related to that word ARR
Reading from a webpage is quite simple in Java; you can use class java.net.URL, call method openStream() on the URL object and read the HTML page from it. Then you need to look for "ARR" or whatever else you want to look for in the returned HTML page. You can do that with the methods in class String.
Look into URL as mentioned above or maybe HttpURLConnection or even the Apache HTTPClient package to pull HTML from web sites.
If you need to get complex stuff out of the HTML - more than just the contents of a tag or two with simple string manipulation - look into HTML parsers. I use the Quiotix parser described and linked HERE.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi