Contents > Developing ColdFusion MX Applications > Using Server-Side ActionScript > Global and request scope objects PreviousNext

Global and request scope objects

Global and request scope objects are implicitly available in all server-side ActionScript. The following table describes these scope objects:

Scope name

Type

Description

config

Global

Initialization information for the server-side ActionScript adapter.

Class: javax.servlet.ServletConfig

application

Global

The context for the current web application. The context defines methods that provide, for example, the MIME type of a file that can be used to write to a log file. There is one context per web application.

Class: javax.servlet.ServletContext

request

Request

An object containing client request information. The object provides data, including parameter name and values, attributes, and an input stream.

Class: HttpServletRequest (subtype of javax.servlet.ServletRequest)

response

Request

An object to assist in sending a response to the client. It provides HTTP-specific functionality in sending a response. Do not use the OutputStream or PrintWriter to send data back to the client.

Class: HttpServletResponse (subtype of javax.servlet.ServletResponse)

For more information about these scope objects, see the documentation on the javax.servlet class at http://java.sun.com.


Contents > Developing ColdFusion MX Applications > Using Server-Side ActionScript > Global and request scope objects PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/ssacti14.htm