Syntax
All actions have a strict XML syntax.
An element either has the form:
< name attr1=“value1” attr2=“value2” . . . />
or the form:
< name attr1=“value1” attr2=“value2” . . . >
JSP body of element
</ name >
Here name is the name of the element, and attr1, attr2, . . . are the names of various attributes associated with this element.
Differences from HTML:
- Case is significant.
- Attribute values must always be quoted.
- Single-tag elements (elements with no body) are closed by />.