Table of Contents
When an RSP page executes its content is sent verbatim in the response until it encounters the special tag <% which denotes the beginning of a code section. The contents of this tag, up to the closing tag %>, are parsed as RSP language statements and executed sequentially.
Example 3.1. Escaping HTML
In the code:
Hello, world! <% print("This is a section of code"); %> This is more literal HTML or whatever. <%= "This expression gets printed as if by print()" %>
the output produced would be:
Hello, world! This is a section of code This is more literal HTML or whatever. This expression gets printed as if by print()
You should note the following points: