AS/400 Toolbox for Java \ Servlet classes

Servlet classes

Start changeThe servlet classes that are provided with AS/400 Toolbox for Java work with the access classes, which are located on the webserver, to give you access to information located on the AS/400 server. You decide how to use the servlet classes to assist you with your own servlet projects.

The following diagram shows how the servlet classes work between the browser, webserver, and AS/400 data. A browser connects to the webserver that is running the servlet. jt400Servlet.jar and jt400Access.jar files reside on the webserver because the servlet classes use some of the access classes to retrieve the data and the HTML classes to present the data. The webserver is connected to the AS/400 system where the data is.

How servlets work

There are three types of servlet classes included with AS/400 Toolbox for Java:

NOTE: The jt400Servlet.jar file includes both the HTML and Servlet classes. You must update your CLASSPATH to point to both the jt400Servlet.jar and the jt400Access.jar if you want to use classes in the com.ibm.as400.util.html and com.ibm.as400.util.servlet packages.
For more information about servlets in general, see the reference section.End change
[ Information Center Home Page | Feedback ] [ Legal | AS/400 Glossary ]