Back


The Linguist servlet package

The servlet package provides a high-level interface to all needed servlet functions, including the generation of HTML.

These are the keywords supplied for servlet operations:

add
clear
do
element
get
on
parameter
put
set
write

This section of Linguist is still in development. More keywords will be added as the package is developed.

Numeric and String values
Conditional expressions


Numeric and String Values

These values can be used in either a numeric or string expression:

parameter {name}
Returns the CGI parameter having the given name.

template {file} [where [select {name}] {key} is {value} [and ...]]
Returns the original height of the media in the specified player.

the headers
Returns a string comprising the headers associated with this request.

header {name}
Returns the single named header.

encoded {value}
Returns the string given, converted to URL encoding to deal with spaces and other characters.

session value {name}
Returns the named session value.

session id
Returns the session id, as a convenience.

the server name
Returns the name of the server running this servlet.

Return to top


Conditional Expressions

There are currently no extra conditional expressions associated with the servlet package.

Return to top


Back