Servertec   method( )
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
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Side
Preprocessor
Executable
Samples
Sales
Legal
Feedback

 

Returns the form request method for the specified request object.

Syntax

    method( request )
    request.method( )

Parameters

    request the request object to use.

Returns

    string the request method
    GET if get request method.
    POST if post request method.

Notes

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

Example

    req = Request( )
    method = req.method( )
    
    if method = "GET" then
        ht = req.QueryString( )
    else if method = "POST" then
        ht = req.Content( )
    else
        println( req + " is not a valid request method" )
    end
    
 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999