The results wizard allows you to create a servlet and JavaServer Page (JSP) to display the results of a query or other data source interaction.
Specify Base Name and Location
Specify Input
Finish
Controlling Applications with Servlets
Presenting Application Pages with JavaServer Pages
Introducing Servlets
Using the Input Wizard