i have taken an web page ans saved it in my system.i want that .html file to be converted to .txt format. can any one tell how to do in java coding part?
For that you'd have to define what "conversion" means - removal of all HTML tags? There might be parts of the content that are loaded via AJAX; those would not be in the HTML file, and thus not in the result of the "conversion".