JSP SQL Samples
Database Access Beans
JSP pages make use of database access beans, a set of beans that wrap around JDBC 2.0 functions
  Take a look
JDBC 2.0 Direct Access
JSP pages make use of JDBC 2.0 directly
  Take a look
SQLJ Access
Using SQLJ within the pages directly - we call those pages SQLJSP
  Take a look
SQL Tags
JSP pages make use of sample SQL access tags, which are built on top of database access beans and implemented with JSP 1.1 tag extension mechanism.
  Take a look

Please enter a suitable JDBC connection string, before you try the above demo