JSP- Character Quoting

Home/JSP Tutorial/JSP- Character Quoting
JSP- Character Quoting 2017-06-03T23:21:34+00:00

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.

Prev