The following quoting conventions apply to JSP pages. Anything else is not processed .
Quoting in Scripting Elements - A literal "%>" is quoted by %\> Quoting in Template Text - A literal "<%" is quoted by <\% Quoting in Attributes - A ' is quoted as \' - A " is quoted as \" - A \ is quoted as \\ - A %> is quoted as %\> - A <% is quoted as <\% XML Representation The quoting conventions are different from those of XML. Chapter JSP.7 describes the details of the transformation.
Quoting in Scripting Elements
- A literal "%>" is quoted by %\>
Quoting in Template Text
- A literal "<%" is quoted by <\%
Quoting in Attributes
- A ' is quoted as \'
- A " is quoted as \"
- A \ is quoted as \\
- A %> is quoted as %\>
- A <% is quoted as <\%
XML Representation
The quoting conventions are different from those of XML. Chapter JSP.7 describes the details of the transformation.