Sample JSP to test JDBC Connections
(Doc ID 566947.1)
Last updated on FEBRUARY 14, 2025
Applies to:
Oracle Containers for J2EE - Version 9.0.2.0.0 to 10.1.3.5.0 [Release 9iAS to AS10gR3] Information in this document applies to any platform.
Goal
This code can be used to test a JDBC connection from within an OC4J application (JSP file) to a backend database. This JSP is for testing only, and should not be left deployed to a production system.
Solution
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!