Servertec Context
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Config
Context
Context( )
getAttribute( )
getAttributeNames( )
getContext( )
getInitParameter( )
getInit
ParameterNames( )

getMimeType( )
getNamed
Dispatcher( )

getRealPath( )
getRequest
Dispatcher( )

getResource( )
getResource
AsStream( )

log( )
removeAttribute( )
setAttribute( )

Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable
Samples
Legal
Contact Us

 

Contains methods used to access the Servlet container.

Method Description
Context( ) Returns this Servlet's Context object.
getAttribute( ) Returns the value associated with the specified Context' attribute name.
getAttributeNames( ) Returns an Enumeration containing the names of the specified Context's attributes.
getContext( ) Returns the Context object associated with the the specified URI.
getInitParameter( ) Returns the value associated with the specified Context's initialization parameter name.
getInitParameterNames( ) Returns an Enumeration containing the names of the specified Context's initialization parameter.
getMimeType( ) Returns the MIME type assoiciated with the specified file.
getNamedDispatcher( ) Returns the RequestDispatcher for the named Servlet.
getRealPath( ) Returns the real physical path for the specified virtual path.
getRequestDispatcher( ) Returns the RequestDispatcher for the specified resource.
getResource( ) Returns a URL to the specified resource.
getResourceAsStream( ) Returns an InputStream to the specified resource.
log( ) Writes the specified message to the event log or log the specified exception and associated message to the error log file.
removeAttribute( ) Removes the named attribute and associated object from the specified Context.
setAttribute( ) Binds the given object and attribute name with the specified Context.

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005