ServletTagServlet provides support for Servlet includes using
<servlet></servlet> tag.
Aliases
Alias: .ssi
Type: Filter
Resource: ServletTagServlet
Servlets
Alias: ServletTagServlet
Class File: stec.iws.ServletTagServlet
Parameters:
Usage
<servlet name=servlet {code=class} {init_param_name=init_param_value}...>
{<param name=param_name value=param_value>}...
</servlet>
class
|
The name of a class file that can be found using the
CLASSPATH.
code is used to load the Servlet when name
is not specified.
When code is used then the Servlet is loaded,
initialized and destroyed each time it is used.
|
init_param_name
|
The name of an initialization parameter.
|
init_param_value
|
The value that will be associated with the named initialization parameter.
|
param_name
|
The name of a parameter.
|
param_value
|
The value that will be associated with the named parameter.
|
servlet
|
A Servlet Alias defined in
iws_dir/config/servlets.ini,
where iws_dir is the directory where Servertec
Internet Server was installed.
If name is not specified then the class defined in
code will be used to load the Servlet.
When name is used then the Servlet is loaded and
initialized only once and destroyed when the server is
shutdown.
|
Notes
Requires that iws_dir/classes/optional.jar be
present in the CLASSPATH.
Normally defined as a Filter aliased as .ssi file
extension.
ServletTagServlet uses Root Directory defined in Virtual Hosts Administrator
and Content Negotiation, Send Vary, Default Content Type, Content Types,
Default Language, Default Charset, Default Content Encoding and
Content Encodings defined in Server Administrator.
Example
<servlet name=HelloServlet></servlet>
|