How/Why to use the Bounce application (Page 1)
 
(Note: You should be familiar with the E-mailer application before you attempt this tutorial.)
The primary use of this application is as an extension of the E-mailer application. Through the bounce you can split a long E-mailer form into any number of smaller pieces. What this application will do is take the form data submitted, and just like the E-mailer will merge that data into the html source file chosen by the author of the form. Here is where the similarity stops however, as the Bounce application will return the html to the users browser instead of mailing it to someone. The most likely use will be to chain one or more 'bounce' pages in front of a mailto page. We'll go through the process below.
 
The most important part for the developer of the page is to set the correct html source page. As per the E-mailer application, the html source will be defined as shown below. If an html source page is not defined by the developer, the data will be merged with the same form and the page user 'won't go anywhere', so to speak. The page we will 'bounce' to is helpBounce2.jsp.
      <input type="hidden" name="html_source" value="http://chico.nss.udel.edu/mailto/helpBounce2.jsp">
    

The glue that ties the two pages together to make this work are the form field names. Check out the source of this page and helpBounce2.jsp and you will notice that the field names are identical. It doesn't matter that some fields on this page are radio buttons and the corrosponding fields on the other page are text boxes. It only matters that the 'name=xyz' are case sensitive identical.

 
As mentioned above, let's assume we are taking a long E-mailer form and splitting it into two pages. So on this page we'll take some basic information from the user, and on the next page we'll a little more information and E-mail the data. If you sneak a peek at the source code, you will notice that we are storing the user's E-mail as the replyto field for the E-mailer application.
 
Number of Widgets:
What color would you like your widgets to be?
Widget Color:
Will you be able to pay for your widgets?
Can pay? Yes , No
 
     
 
Tutorial   |   Mailto Instructions   |   Bounce Instructions