The target of the form submissions is the JSPpage. Once a form is submitted, the third section, containing JSP code, is executed. As with the other two sections, a special XSL stylesheet tag must appear before all content. The JSP code connects to the database then selects the appropriate data and outputs an XML stream of area code records. XSL stylesheets use a template matching system to find and then process XML content.
All processing starts at the root document element and proceeds from there.
Result A simple, yet useful application has been built with just two files and some information stored in a database. More extensive applications can be built with Java Server Pages that take advantage of built-in session capabilities and that work in conjunction with Java Servlets. These three open technologies will become essential components in your toolbox as you endeavor to build more dynamic and personalzied sites. Written by Bob Rudis and Copyright 2001 INT Media Group, Incorporated All Rights Reserved.