DEVFYI - Developer Resource - FYI

How do you connect to the database from JSP?

JSP Interview Questions and Answers


(Continued from previous question...)

47. How do you connect to the database from JSP?

A Connection to a database can be established from a jsp page by writing the code to establish a connection using a jsp scriptlets.
Further then you can use the resultset object "res" to read data in the following way.

(Continued on next question...)

Other Interview Questions