
192 IBM Workplace Forms: Guide to Building and Integrating a Sample Workplace Forms Application
</TD>
</TR>
3. Save the updated file as index.jsp so as to separate this from the original index.jsp.
5.5.3 Creating a JSP to view DB2 data
In order to display the data from the DB2 database, you will need to create a JSP that reads
the data from the tables and creates the output in HTML format. This JSP uses the DB2
Access Layer connector mentioned previously in 5.1.5 to make the queries to the database
and to store the form back.
The
db2listing.jsp has a similar function to the dirlisting1.jsp mentioned in Chapter 4. The
main difference is that the f ...