Servertec   iws
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Users
Reference
iServer API
AccessLogEntry
Codecs
Connection
ConnectionPool...
DString
ErrorLogEntry
EventLogEntry
FileUpload
iws
Logger
MultiPartForm
QuickSort
Realm
Utils

Servlet API
CGI
SSI
Servlets
Logs

Samples
Sales
Legal
Feedback

 

java.lang.Object
 |
 +--stec.iws.iws

public class iws

Methods used to initialize, run and stop iServer.

Example

import stec.iws.iws;

public class testServer
{
    void static main(String[] args)
    {
        try
        {
            iws.init("/iws");
            iws.run();
        }
        finally
        {
            iws.destroy();
        }
    }
}

Methods

Method Description
destroy Stops the iServer runtime environment.
init Initializes the iServer runtime environment.
run Starts and run iServer.

destroy

Stops the iServer runtime environment.

Syntax

public static void destroy()

Parameters

None

Returns

Nothing

Throws

Nothing

Example

iws.destroy();

init

Initializes the iServer runtime environment.

Syntax

public static void init(String[] args)
public static void init(String arg)
public static void init()

Parameters

args an array of strings containing arguments to iServer.

Returns

Nothing

Throws

Nothing

Notes

Presently the only parameter is an optional base directory that iServer uses to find its configuration files.

Example

iws.init(args);

run

Starts and run iServer.

Syntax

public static void run()

Parameters

None

Returns

Nothing

Throws

Nothing

Example

iws.run();
 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Mon Jun 28 23:14:48 EDT 1999