OutputFormat PARAM tag



Determines the format of server output for MIME types text/html and text/plain.

Syntax

<PARAM NAME = "OutputFormat" VALUE = "format">

Values

format
If the Value of OutputFormat is "Browser," the resultant output is shown in the browser.

If the Value of OutputFormat is "Infobus," server output is collected in a string which is placed on the InfoBus.

Usage

If the data returned from the server is not text/html or text/plain, the server output is placed on the InfoBus as a generic Object (using the InfoBus class SimpleDataItem). Another applet on the InfoBus that is listening for the data item can render the object according to its format.

If the "Browser" HTML format is selected, and the browser is not capable of supporting the Javascript protocol (i.e., only Netscape browsers can exploit this feature), the output is placed on the InfoBus as if OutputFormat = "Infobus".

Example
OutputFormat PARAM tag example

See also
CGI gateway applet