Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

The CSP Class

To display our XML menu, we will create a new CSP class to serve the HTML for the menu to a browser.

A CSP class is a subclass of the %CSP.PageOpens in a new tab class. When CSP processes an HTTP (Web) request, it dispatches it to the OnPage method of a CSP class. The OnPage method responds by writing content (to the current device) which is automatically sent back to the web client that initiated the request.

For more information on CSP, refer to Using Caché Server Pages (CSP).

FeedbackOpens in a new tab