Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading carriage returns

807597Jul 25 2005 — edited Jul 25 2005
Hi,

I'm reading an HTML via a BufferedReader into a string and then outputting the string through a socket. Unfortunately the output shows the HTML code squashed together as opposed to the original format where it was laid out well. Is there any way of getting the BufferedReader class to include carriage returns and line feeds?

Thanks,

Chris
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2005
Added on Jul 25 2005
19 comments
637 views