Servlets are Java classes that perform a role similar to that of CGI programs or Web server API plug-ins. Servlets are used by a Java servlet-enabled Web server to perform CGI-like functions. Servlets do not have their own graphical user interface, but their classes can be dynamically loaded locally, or from across the network, and can be called using a URL address (remotely) or by a class name (locally).
Net.Data provides servlets that you can use to invoke Net.Data macros, single SQL statements, stored procedures, and functions on OS/390. The servlets can be executed from both a URL and as a Server-Side-Include (SSI). Net.Data provides two servlets:
You can run macros through Server-Side-Includes (SSI) to embed multiple macros in your HTML file.
The function servlet provides direct request capability, but using a Java interface. See Invoking Net.Data without a Macro (Direct Request) for more information.