reply(html: String) updating;
The reply method of the WebSession class, which is executed when all processing is complete and the JADE system is ready to send a response back to the Web browser, can be reimplemented in your user session class. The html parameter specifies the response that is to be sent back to the Web browser.
You can reimplement this method in your applications; for example, if you want to manipulate the string before sending a reply back to the Web browser. The following example shows the use of this method to keep a count of the replies that are sent to the Web browser.
reply(html: String) updating; begin //count is a property in the Global class of the user-defined schema beginTransaction; global.count := global.count + 1; commitTransaction; //now call the default implementation inheritMethod(html); end;
If the JADE implementation of this method is not called (by using the
If you modify the html parameter value, it is your responsibility to ensure that the information is displayed as you expect.
You can use the