Top
NetCOBOL V11.0 ISAPI Subroutines User's Guide
FUJITSU Software

2.2.5 Web Page for Processing the Resulting Output

The Web page for processing the resulting output is an HTML document used to return execution results of the Web application to the WWW Browser. Since response data can also be returned directly from a Web application, the Web page for processing result output need not necessarily be prepared. However, by preparing the Web page for processing the resulting output, flexibility and maintainability can be improved; the independence of data to be returned and programs are enhanced and the layout of the output results can be changed without re-compiling the Web application again.

It is also possible to output the contents of a Web page for processing the resulting output by converting it dynamically.

To output a static HTML document (an HTML document whose output does not depend on processing results), HTML creation tools can directly be used.

To output a dynamic HTML document (an HTML document whose output depends on processing results), data can be replaced dynamically for output by specifying an item name (conversion name) enclosed by "//COBOL//" in the Web page used for processing the resulting output. Since all data contained in an HTML document is intended for conversion, it is also possible to replace the tags to change characters in the Web page for processing the resulting output and to specify the background color. See "COBW3_PUT_HTML" in Chapter 3.

The Web page for processing the resulting output can also be output by dividing the title/text/header into multiple HTML documents or by combining it with plain text.