Replacement Tag Reference

This section presents and discusses each tag that is implemented in Server Response Files.

Here is an example of a basic .srf file. Tags are italicized.

<!-- BIS control tags (removed when page is rendered) -->
<!-- {{ handler * }} -->
<!-- {{ Trace(queryparam=trace) }} -->
<!-- {{ StartService(samp03.acu) }} -->
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title> COBOL Web Server Demonstration Page</title>

    <div align="center">
        <h3> COBOL Web Server Demonstration Page</h3>
    <p>--- Begin Application-Generated XHTML ---</p>
        {{ XMLExchange(OnExit="goodbye.srf") }}
    <p>--- End Application-Generated XHTML ---</p>
    {{ TraceDump }}
Note that the first three tags in this example are embedded in HMTL comments. This is not strictly necessary from an operational standpoint (and may be undesirable because empty comments will be sent to the browser), but useful to keep an HTML editor like Microsoft FrontPage, Expression Web, Visual Studio or Adobe Dreamweaver from reformatting the text in the handler tag, or possibly splitting the tag across multiple lines. Some of these products support the server response file syntax directly and do not have this issue.