The Annotated Examples


The FormServlet Tags


    

Conditional

<input name="Conditional" type="hidden" value="http://www.umsl.edu/admission/ failapp.htm"> <!-- Anything that has a "name" beginning with the string "REQ" must be filled in. If it is left blank the file at this URL is rewritten and returned. This is really a legacy feature since one cannot specify a format for the string that is returned. JavaScript is now a more appropriate tool to implement this requirement. is--> -----------------------------------------------------------------

E_Mail

<input name="E_Mail" type="hidden" value="SiegelJ@msx.umsl.edu"> <!-- Who gets the email generated by FormServlet? There can be more than one!!!--> ---------------------------------------------------------------------------

from_address

<input name="from_address" type="hidden" value="simple_form@umsl.edu"> <!-- The return address of the email that is sent--> --------------------------------------------------------------------------

SMTPreturn

<input name="SMTPreturn" type="hidden" value="/accounts/faculty/siegel/ public_html/FormsTalk/simplemail/simplemail_response.txt"> <!-- The body of the email is this template(file) rewritten --> ---------------------------------------------------------------------------

SQLFile

<input name="SQLFile" type="hidden" value="SQLQuery.txt"> <!-- The name of the SQL file. Must be free of special characters. FormServlet checks for control characters etc. in the name --> ---------------------------------------------------------------------------

Subject

<input name="Subject"type="hidden" value="Simple Mail with a Subject"> <!-- The "subject" of the email that is sent--> --------------------------------------------------------------------------

URLhead, URLbody, URLfoot

<input name="URLhead" type="hidden" value="/accounts/faculty/siegel/public_html/FormsTalk/sql/class_head.html"> <input name="URLbody" type="hidden" value="/accounts/faculty/siegel/public_html/FormsTalk/sql/class_member.html"> <input name="URLfoot" type="hidden" value="/accounts/faculty/siegel/public_html/FormsTalk/sql/class_foot1.html"> <!-- URLhead is the absolute directory address of a template to by rewritten and returned as a WebPage before the query file is run. In fact there does not have to be a query file. This can be an alternative to URLreturn. URLbody is rewritten and returned for each line is the table that is returned by Oracle. URLfoot is rewritten and returned after the returned table is exausted. --> ---------------------------------------------------------------------------

URLreturn

<input name="URLreturn" type="hidden" value="http://www.umsl.edu/admission/ thankapp.htm"> <!-- Another way of providing a template to rewrite and return--> ---------------------------------------------------------------------------

USER

<input name="USER" type="hidden" value="siegel"> <!-- FormServlet retrieves user siegel's personal data . Oracle account . password . directory that contains my "SQLFile" -->