Java2all.com  

Character Quoting





Share This Topic -

character quotes in jsp:

Character Quoting And Data Conventions :

Syntax

Purpose

 <\%

Used in template text (static HTML) where you really want "<%".

 %\>

Used in scripting elements where you really want "%>".

 \'

A single quote in an attribute that uses single quotes. Remember, however, that you can use either single or double quotes, and the other type of quote will then be a regular character.

 \"

A double quote in an attribute that uses double quotes. Remember, however, that you can use either single or double quotes, and the other type of quote will then be a regular character.

 %\>

%> in an attribute.

 <\%

<% in an attribute.

 \

Used as a delimiter.