This figure illustrates in a general way how servlets work.
The figure is composed of the following:
Note: The WebServer does not have to be on an iSeries server, but it can be, and can even be the same server as that indicated by the iSeries Data image.
A line labeled HTML connects the Browser (the left image) to a Servlet (the green oval) on the WebServer (middle image). The line is labeled HTML because servlets most often use HTML to 'serve' data to the browser.
The WebServer is running two Toolbox for Java jar files (the tan circles), jt400Servlet.jar and jt400.jar. The classes in jt400Servlet.jar, along with the classes in jt400.jar, enable the WebServer to run a servlet that easily connects to servers that contain iSeries Data (the right image). The line with arrowheads on both ends that connects the two images indicates this connection.