Skip to main content

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