XML and Server Scriptlets

A Server Scriptlet

.sct
file contains three main tags. These tags are the following:

Registration
and
Implements
include some other more specific tags, while
Scriptlet
plays the same role as the
<HTML>
for HTML documents—namely it is the main wrapper that encompasses all the information. In addition, we have a well-known
<SCRIPT>
tag that—as expected—contains the script code to be executed.

The

<scriptlet>
tag denotes the beginning and the end of a SCT document and doesn't support any additional attributes. Everything included between the
<scriptlet>
and
</scriptlet>
tags is part of the Server Scriptlet document. A Server Scriptlet can rely on three categories of information:

Let's see them in detail.

© 1997 by Wrox Press. All rights reserved.