c:out outputs <p> rather than <p>

Hi,

In my jsp, I have

<c:out value="${model.section1}"/>

where section1 is a string pre-processed by my

Java code to have

and

for html

paragraphs. I prefer inserting the

and

in my Java code because I know how to manipulate

Strings in Java but not jsp.

Anyway, c:out is too smart for my purpose.

It translates

to

automatically,

which is not what I wanted. Is there a way to

stop this automatic translation?

Thanks,

-lpanl

[537 byte] By [lpanla] at [2007-11-27 3:53:01]
# 1
Your forum is too smart for me too! :)c:out translates to automatically,which is exactly not what I wanted.Is there a way to avoid the auto-translation?Thanks,-lpanl
lpanla at 2007-7-12 8:57:03 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Just can't find a way to say what I wanted to say! :)I did not want this from c:out& lt ; p & gt ;
lpanla at 2007-7-12 8:57:03 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
To prevent from turning into &lt;p&gt; set the escapeXml attribute of the <c:out> tagie<c:out value="${model.section1}" escapeXml="false"/>
evnafetsa at 2007-7-12 8:57:03 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
It worked!Thanks,-lpanl
lpanla at 2007-7-12 8:57:03 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...