File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes escapeXML by default... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "escapeXML by default..." Watch "escapeXML by default..." New topic

escapeXML by default...

Yosi Pramajaya
Ranch Hand

Joined: Jun 30, 2011
Posts: 46

We can specified whether cut escapeXML=true / false.
But, if we don't specified that, what is default value? False?

Independent Programmer - Technology Enthusiast - JUG Leader from JUG Joglosemar
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper

Joined: Apr 07, 2010
Posts: 2099

Hi Yosi,

From the jstl specs:

4.2 <c: out>
Name | Dynamic allowed | Type
escapeXml | true | boolean

Determines whether characters <,>,&, '," in the resulting string should be converted to their corresponding character entity codes.
Default value is true.

I agree. Here's the link:
subject: escapeXML by default...
It's not a secret anymore!