72 lines
2.8 KiB
HTML
72 lines
2.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>Java CGI HOWTO: Future Plans</TITLE>
|
|
<LINK HREF="Java-CGI-HOWTO-7.html" REL=next>
|
|
<LINK HREF="Java-CGI-HOWTO-5.html" REL=previous>
|
|
<LINK HREF="Java-CGI-HOWTO.html#toc6" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Java-CGI-HOWTO-7.html">Next</A>
|
|
<A HREF="Java-CGI-HOWTO-5.html">Previous</A>
|
|
<A HREF="Java-CGI-HOWTO.html#toc6">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s6">6. Future Plans</A></H2>
|
|
|
|
<P>
|
|
<UL>
|
|
<LI>Add to the Email class:
|
|
<DL>
|
|
<DT><B>Email( int capacity )</B><DD><P>Used when we know how much space the message
|
|
will need to have allocated.
|
|
<DT><B>sendTo( String [] address )</B><DD><P>Add a list of primary destinations to
|
|
the e-mail message.
|
|
<DT><B>sendCc( String address )</B><DD><P>Add a Carbon-Copy destination to the
|
|
e-mail message.
|
|
<DT><B>sendCc( String [] address )</B><DD><P>Add a list of Carbon-Copy
|
|
destinations to the e-mail message.
|
|
<DT><B>sendBcc( String address )</B><DD><P>Add a Blind Carbon-Copy destination to
|
|
the e-mail message.
|
|
<DT><B>sendBcc( String [] address )</B><DD><P>Add a list of Blind Carbon-Copy
|
|
destinations to the e-mail message.
|
|
</DL>
|
|
</LI>
|
|
<LI>Add to the HTML class:
|
|
<DL>
|
|
<DT><B>HTML( int capacity )</B><DD><P>Used when we know how much space the message
|
|
will need to have allocated.
|
|
<DT><B>public void unorderedList()</B><DD><P>Start an unordered list.
|
|
<DT><B>public void orderedList()</B><DD><P>Start an ordered list.
|
|
<DT><B>public void directoryList()</B><DD><P>Start a directory list.
|
|
<DT><B>public void menuList()</B><DD><P>Start a menu list.
|
|
<DT><B>void anchor( String anchorName )</B><DD><P>Specify an anchor.
|
|
<DT><B>void link( String url, String text )</B><DD><P>Specify a link.
|
|
<DT><B>void applet( String url, String altText )</B><DD><P>Specify an applet link.
|
|
</DL>
|
|
</LI>
|
|
<LI>Allow HTML lists to be nested.</LI>
|
|
<LI>Add error checking code to enforce correct ordering of HTML list
|
|
formatting codes.</LI>
|
|
<LI>The location of the file of environment data should be configurable
|
|
from the <CODE>Makefile</CODE>.</LI>
|
|
<LI>Get rid of the spurious empty name/value pair that appears in the list when we
|
|
are dealing with the GET method of data transfer.</LI>
|
|
<LI>Consider having CGI implement the java.util.Enumeration interface to
|
|
successively provide variable names.</LI>
|
|
<LI>Add a <CODE>Test</CODE> class, which would use every method in this package.</LI>
|
|
<LI>Document how <CODE>CGI_Test</CODE>, <CODE>Email_Test</CODE> and
|
|
<CODE>HTML_Test</CODE> build on each other to provide incremental tests for
|
|
debugging purposes.</LI>
|
|
<LI>Document how Test uses every feature available in this package.</LI>
|
|
</UL>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<HR>
|
|
<A HREF="Java-CGI-HOWTO-7.html">Next</A>
|
|
<A HREF="Java-CGI-HOWTO-5.html">Previous</A>
|
|
<A HREF="Java-CGI-HOWTO.html#toc6">Contents</A>
|
|
</BODY>
|
|
</HTML>
|