• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

JSP BEANS ORACLE CONNECTION

santana9

Banned
How would I implement this into a jsp page using a bean:

Connection cn=null;

//loading the JDCB driver
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());

// Defining the connection URL
String host = "xxxxx";
String dbName = "xxx";
int port = xxxx;
String oracleURL = "jdbc😱racle:thin😡" + host + ":" + port + ":" + dbName;

//Establish the connection
String username = "xxxx";
String password = "xxxx";

cn = DriverManager.getConnection(oracleURL, username, password);
 
Back
Top