beautypg.com

Table 3-2 – HP NonStop G-Series User Manual

Page 271

background image









From Account Number:
To Account Number:
Amount: $






Table 3-2. Key HTML Elements and Descriptions

Element

Description

ACTION="tlr.asp"

When the "submit" button is pressed, the contents of this form
are delivered to a page called tlr.asp on the Web server for
processing.

NAME="ACCOUNT_ID_0"

Shows the use of a field with multiple occurrences. The
TRANSFER service expects two input account numbers, both
called "ACCOUNT_ID". By using a convention of appending
an underscore and occurrence_number (e.g., _0, _1) to the
field name, both the name of a field and its occurrence can be
passed to the program on the Web Server.

NAME="SAMOUNT"

Shows the use of an input field that has a single occurrence. In
this example, there is nothing appended to the name of the
field.

The HTML form field names used in this example exactly match the TUXEDO field names
expected by the TRANSFER service. This is not required, but doing so facilitates processing on
the server because you do not have to map these inputs to TUXEDO field names. This is done by
the Jolt Web Application Services classes.

The hidden field SVCNAME is assigned a value of TRANSFER. This field does not appear on the
client form, but it is sent to the Web server as part of the request. The VBScript program retrieves
the value of this field in order to determine which TUXEDO service is to be called (in this
example, the service is TRANSFER).

Complete the fields From Account Number, To Account Number, and Amount. (10000 and 10001
are valid bankapp account numbers). Press the "Transfer" button. The data entered on the form is
sent to the Web server for processing by the program tlr.asp as specified in the ACTION field of