converting into text format
I am trying to extract the content of a webpage and sending the same
as a email to someone. I achieved this thro :
i opened a connection to that file thro url class and read the contents
thro bufferedreader via inputstreams. i used getinputstream method of urlconnection
and created bufferedreader object thro this i/pstream and read the content.
Now wrote the content to an socket thro printstream and send the mail.
here everything works fine and the content has been sent as html coding not
in the text. I couldn't convert the same into text format .
If anybody knows , post a reply to this or
mail to me
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL