Servertec getResourceAsStream( )
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

 

Returns an InputStream to the specified resource.

Syntax

    getResourceAsStream( context , string )
    context.getResourceAsStream( string )

Parameters

    context the Context object.
    string the path to the resource.

Returns

    url the InputStream to the specified resource. null if none.

Notes

    This method is only accessible by ss and by iScript Servlet.

Example

    input_stream = Context( ).getResourceAsStream( path )
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005