Servertec   Servlets
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Users
Reference
iServer API
Servlet API
CGI
SSI
Servlets
Logs

Samples
Sales
Legal
Feedback

 

iServer Servlets include File, CGI, SSI, iScript, Administrator and Cluster Redirector.

Servlet Description
AdminServlet Implements iServer Administrator.

Normally defined as a Servlet aliased as /admin.html.

CgiServlet This Servlet implements CGI.

bindir The base directory which contains CGI scripts.

Normally ./cgi-bin.

exec The shell to use.

Normally c:\\command.com /c for WIN32 and /bin/sh for UNIX.

Normally defined as a Servlet aliased as /cgi-bin.

ClusterRedirector The Cluster Redirector provides load balancing and fault tolerance by redirecting client requests to an available workgroup of servers.

hosts The comma delimited list of the names of the servers in the workgroup that requests will be redirected to. For example:
p2,p3:8080
interval Used to specify in milliseconds how often the workgroup servers status is updated.

A value greater than or equal to 50 milliseconds.

If an interval is not specified or if (0) zero is used then the workgroup server status is only checked if the method is best when the request is made is made.

1000 milliseconds is a good value to use.

A value too small may have a negative impact on performance and a value too large when method is best may saturate a workgroup server with requests.

method The method used to determine which server within the workgroup will service the current request.

best - the server with the best response time.
next - the next available server.

If a method is not specified then next is used.

Normally defined as a Servlet associated to the base URL to redirect.

FileServlet This Servlet provides access to both files directories.

Parameters for File are defined in iServer Administrator -> Manager -> Server
Default File The name of the default html document to retrieve, if non was specified.

index.html is the default for iServer.

File Cache Size The amount of memory in megabytes to use as a file cache.

8 is the default for iServer.

Must be 1 or more megabytes in size. Use 0 to disable the cache.

A file cache may improve performance.

Directory Access Whether to allow directories to be displayed.

No is the default for iServer.

Setting this value to Yes is potentially a security hole.

iServer uses /iws/html/directory.html, an html template, when displaying a directory.

Root Directory The root directory for html files and documents.

./wwwroot is the default for iServer.

./public_html is also a popular value used by Web Servers.

All references to files are made relative the base directory.

Normally defined as a Servlet aliased as /.

iScriptServlet Provides interface to iScript.

basedir The base directory which contains iScript scripts.

Normally c: for WIN32 and / for UNIX.

Normally defined as a Filter associated with .ssi and .shtml file extensions.

iScript is available as a separate download.

SSIncludeServlet Provides support for SSI.

exec The shell to use when executing #exec directive.

Normally c:\\command.com /c for WIN32 and /bin/sh for UNIX.

Normally defined as a Filter associated with .tf file extension.

StatusServlet Used by workgroup servers to provide the Cluster Redirector with load and availability status.

Normally defined as a Servlet associated with /status.

 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:59:10 EST 1999