aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15286

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

GenRocket - A Test Data Generation Platform
I agree. Here's the link:
subject: How to read html file?
Similar Threads
how to pass html code
problem reading a html file
retriving file-date-time
how to display a image file comming as attachment
Read an html file and print the contents to console