<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Servlet classes" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="servlets" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Servlet classes</title>
</head>
<body id="servlets"><a name="servlets"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Servlet classes</h1>
<div><p></p>
<div class="section"><p>The servlet classes that are provided with IBM<sup>®</sup> Toolbox for Java™ work with the  <a href="classes.htm#classes">access
classes</a>, which are located on the webserver,  to give you access to
information located on the iSeries™ server. You decide  how to use the servlet
classes to assist you with your own servlet projects.</p>
</div>
<div class="section"><p>The following diagram shows how the servlet classes work between
the browser,  webserver, and iSeries data. A browser connects to the webserver
that is running  the servlet. jt400Servlet.jar  and jt400.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 iSeries server where the data is.</p>
</div>
<div class="section"><p><strong>Figure 1: How servlets work</strong></p>
</div>
<div class="section"><p><img src="rzahh585.gif" alt="How servlets work" /> <img src="c.gif" alt="Image description" /><a href="rzahh585.htm#rzahh585">Long description of Figure 1: How servlets work (rzahh585.gif)</a></p>
</div>
<div class="section"><p>There are four types of servlet classes included with IBM Toolbox for Java:</p>
</div>
<div class="section"><ul><li><a href="servauth.htm#servauth">Authentication</a> classes</li>
<li><a href="rowdata.htm#rowdata">RowData</a> classes</li>
<li><a href="rowmeta.htm#rowmeta">RowMetaData</a> classes</li>
<li><a href="convert.htm#convert">Converter</a> classes</li>
</ul>
</div>
<div class="section"><p><strong>Note</strong>: The jt400Servlet.jar file includes both the <a href="html.htm#html">HTML</a>  and Servlet classes. You  must update your
CLASSPATH to point to both jt400Servlet.jar and jt400.jar if  you want to
use classes in the com.ibm.as400.util.html and com.ibm.as400.util.servlet
 packages.</p>
</div>
<div class="section"><p>For more information about servlets in general, see the  <a href="reflearn.htm#reflearn__servletslink">reference</a> section.</p>
</div>
</div>

</body>
</html>