Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

someone please explain <c:out> 's escapeXml

 
Bharat Makwana
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing some problem with following statements in my jsp.
Both of these statements give same result i.e @>{.

with escapeXml="false" it should display unicode for those character right ?

<cut value="@>{" escapeXml="false"></cut>
<cut value="@>{" escapeXml="true"></cut>
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, escapeXML only converts <,>,&,’,”

(a double quotation is missing after @)
 
Hubert Pietruszewski
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
with escapeXml="false" it should display unicode for those character right ?


Why?

If You want to feel the difference try this:
<c:out value="<b>caption</b>" escapeXml="false"></c:out>
<c:out value="<b>caption</b>" escapeXml="true"></c:out>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic