HTML Classes
IBM Toolbox for Java HTML classes assist you in:
- Setting up forms and tables for HTML pages
Aligning text
- Working with a variety of HTML tags
- Altering the language and direction of text
- Creating ordered and unordered lists
- Creating file lists and HTML hierarchical trees (and the
elements within them)
- Adding tag attributes not already defined in the HTML classes
(for example, bgcolor and style attributes)

The HTML classes implement the
HTMLTagElement interface. Each class produces an HTML tag for a
specific element type. The tag may be retrieved using the
getTag() method and can then be imbedded into any HTML
document. The tags you generate with the HTML classes are
consistent with the HTML 3.2 specification.
The HTML classes can work with servlet classes
to get data from the iSeries server. However, they can also be used alone if
you supply the table or form data.
The HTML classes make it easier to make HTML forms, tables, and
other elements:
BidiOrdering class
allows you to alter the language and direction of text.
DirFilter
class enables you to determine if a File object is a directory.
HTMLAlign class allows you to
align blocks of HTML output.
HTMLFileFilter
class allows you to determine if a File object is a file.
- HTMLForm classes help you make forms
more easily than CGI scripting.
HTMLHeading class allows you
to create heading tags for your HTML pages.
- HTMLHyperlink class helps you create
links within your HTML page.
HTMLList classes help you
create lists for your HTML pages.
HTMLMeta class allows you to
create meta tags for your HTML pages.
HTMLParameter class
specifies parameters available to the HTMLServlet.
HTMLServlet class allows you
to create a server-side include.
- HTMLTable classes help you make
tables for your HTML pages.
- HTMLText class allows you to access
the font properties within your HTML page.
HTMLTree classes allow you
to display an HTML hierarchical tree of HTML elements.
-
URLEncoder class encodes delimiters to use in a URL
string.
URLParser
class allow you to parse a URL string for the URI, properties, and
reference.
NOTE: The jt400Servlet.jar file includes both the
HTML and Servlet classes. You must
update your CLASSPATH to point to the jt400Servlet.jar file if you
want to use the classes in the com.ibm.as400.util.html package.
To find out more information about HTML, see the reference page.