Servertec Content( )
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
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
available( )
Content( )
contentData( )
cookieData( )
Cookies( )
decode( )
Form( )
formData( )
getSession( )
isSecure( )
isSessionFromCookie( )
isSessionFromURL( )
isSessionValid( )
length( )
method( )
parseCookies( )
parseRequest( )
path( )
QueryString( )
queryStringData( )
read( )
Request( )
ServerVariables( )
skip( )

RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable
Samples
Legal
Contact Us

 

Returns a hashtable object containing any form elements sent using the post request method to the specified request object or returns the value of the given form element identifier using the specified request object.

Syntax

    Content( request )
    request.Content( )

Parameters

    request the request object to use.

Returns

    hashtable the hashtable object containing any form elements sent using the post request method to the specified request object.
    null if none.

Notes

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

Example

    contentHash = Request( ).Content( )
    

Syntax

    Content( request , name )
    request.Content( name )

Parameters

    request the request object to use.
    name the name of the form element.

Returns

    value the value(s) associated with the given from element.
    string if only one value.
    vector if more than one value.
    null if none.

Notes

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

Example

    println( "name: " + Request( ).Content( "name" ) )
    

Syntax

    Content( request , name , index )
    request.Content( name , index )

Parameters

    request the request object to use.
    name the name of the form element.
    index the index into the vector object of values.

Returns

    string the value associated with the given from element.
    null if none.

Notes

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

Example

    println( "value: " + Request( ).Content( "list", 1 ) )
    
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005