String containing " character in it

Hi

I want to display a web page created on the fly in a java program. I am using BufferedWriter method write to send html strings to remote client. This is working fine. Now I want to add another line of html code that contains " character. Java takes it as string terminator which I do not want. How to write a string containing character " inside it.

The html line I want to write is as follows:

<p style="color: red; margin-left: 50px">

Qaisar

[490 byte] By [Qaisar] at [2007-11-25 22:02:45]
# 1
You need to use the escape the character for Strings before each quotation mark. This I believe is "/". IE System.out.println("One example /"Embedded quotes/" ");
rsosborn at 2007-7-5 1:33:00 > top of Java-index,Desktop,Sun Java Desktop System...