| Using Server-Side ActionScript in ColdFusion MX
|
|
Connecting to the Flash Remoting Service
|
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, found at http://java.sun.com.
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6
Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.