The moose likes I/O and Streams and the fly likes How to read html file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "How to read html file?" Watch "How to read html file?" New topic

How to read html file?

shippu devaraju

Joined: Feb 26, 2002
Posts: 11
Hi Friends,
I want to read a html file (which has links to plenty of .gif and .jpeg ) through my java file,and send that html file by e-mail using Java mail.
So here I am in little bit confuse in reading HTML file.How i shoud read HTML file either using Byte streams or charecter streams.
I am thankful to you if any of u can give solution to my problem
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

This program get's an HTML file and saves it to disk. It may help you a little.

GenRocket - Experts at Building Test Data
subject: How to read html file?
Similar Threads
how to pass html code
retriving file-date-time
Read an html file and print the contents to console
problem reading a html file
how to display a image file comming as attachment