JSP SQL Tag Samples
(Please click here for detailed descriptions
of SQL Access Tag Library.) |
|
sample1.jsp
A simple SQL tag sample that opens connection, executes query and closes connection
|
|
|
Try it |
|
|
Source |
|
|
|
|
sample2.jsp
A SQL tag sample that makes use of nested tags with Query inside Open and does a where-condition search.
|
|
|
Try it |
|
|
Source |
|
|
|
|
sample3.jsp
A SQL access tag that outputs in XML and transforms with an XSL style sheet
|
|
|
Try it |
|
|
Source |
|
|
|
|
sample4.jsp
A SQL access tag sample that iterates through a result set
|
|
|
Try it |
|
|
Source |
|
|
|
|
sample5.jsp
A DML sample
|
|
|
Try it |
|
|
Source |
|
|
|