Servertec   ServletManager
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Users
Reference
iServer API
AccessLogEntry
Codecs
Connection
ConnectionPool...
DString
ErrorLogEntry
EventLogEntry
FileCache
FileUpload
IOHandler
IOManager
iws
Logger
MultiPartForm
QuickSort
Realm
RealmAdmin...
ServletManager
Utils

Servlet API
CGI
SSI
Servlets
Config Files
Log Files
Classes
Directory Tree

Samples
Sales
Legal
Feedback

 

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

public class ServletManager

Methods used to access the iServer Servlet Manager.

Methods

Method Description
isRealmLoaded Returns whether the specified Realm is loaded.
isServletLoaded Returns whether the specified Servlet is loaded.
loadRealm Used to load the specified Realm alias.
loadServlet Used to load the specified Servlet alias.
unloadRealm Used to unload the specified Realm alias.
unloadServlet Used to unload the specified Servlet alias.

isRealmLoaded

Returns whether the specified Realm is loaded.

Syntax

public boolean isRealmLoaded(String alias) throws Exception

Parameters

alias an existing Realm alias.

Returns

boolean whether the specified Realm is loaded.

Throws

Nothing

Example

iws.servletManager.isRealmLoaded("default");

isServletLoaded

Returns whether the specified Servlet is loaded.

Syntax

public boolean isServletLoaded(String alias) throws Exception

Parameters

alias an existing Servlet alias.

Returns

boolean whether the specified Servlet is loaded.

Throws

Nothing

Example

iws.servletManager.isServletLoaded("FileServlet");

loadRealm

Used to load the specified Realm alias.

Syntax

public stec.iws.ServletContextImpl loadRealm(String alias) throws Exception

Parameters

alias an existing Realm alias.

Returns

ServletContextImpl context to the loaded Realm.

Throws

Exception if any errors occurs.

Example

iws.servletManager.loadRealm("default");

loadServlet

Used to load the specified Servlet alias.

Syntax

public stec.iws.ServletContextImpl loadServlet(String alias) throws Exception

Parameters

alias an existing Servlet alias.

Returns

ServletContextImpl context to the loaded Servlet.

Throws

Exception if any errors occurs.

Example

iws.servletManager.loadServlet("FileServlet");

unloadRealm

Used to unload the specified Realm alias.

Syntax

public void loadRealm(String alias) throws Exception

Parameters

alias an existing Realm alias.

Returns

Nothing

Throws

Exception if any errors occurs.

Example

iws.servletManager.unloadRealm("default");

unloadServlet

Used to unload the specified Servlet alias.

Syntax

public void loadServlet(String alias) throws Exception

Parameters

alias an existing Servlet alias.

Returns

Nothing

Throws

Exception if any errors occurs.

Example

iws.servletManager.unloadServlet("FileServlet");
 top of page
 Built with iScript Copyright © 1997-2000 Servertec. All rights reserved.
Last Modified: Sun Jan 09 19:34:12 EST 2000