March 2002
Intermediate to advanced
592 pages
13h 13m
English
Now, let's work through an example, building a tag library for database access. The tag library will take the results from a SQL statement and apply an XSL stylesheet to create formatted output.
Chapter 7, “Successfully Using JSP and XML in an Application,” produced several JavaBeans used to take a JDBC ResultSet and produce an XML output. The JavaBeans used are DatabaseParameter.java, XMLFromResult.java, and ProcessDom4J.java. This section will use these JavaBeans to illustrate how convenient it is to reuse code. Answers to any questions you might have regarding how to use or install these beans can be found in Chapter 7.
We need to build a new tag handler to access the ...
Read now
Unlock full access