How to get an instance of DHTML API
Note that before you can use the following methods to get a DHTML API instance, firstly you need to import some relevant packages. For instance, jet.web.dhtml.* must be included here.
Both of the following methods can be used to get an instance of the DHTML API locally. The results of these two methods are exactly the same.
DHTMLClientService service = DHTMLServiceFactory.getDHTMLClientService(request);
|
This method can be used to get an instance of DHTML API from a remote server (RMI).
|