SQLException no suitable driver
with B/S pattern, I develop a web application, during connect to oracle DB, there is a SQLException no suitable driver .
I don't know why!
some codes as follows :
Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.getConnection("jdbc:oracle:thin:@loc alhost:1521:accp","scott","tiger");
I have set project properties, load oracle driver package(classes12.jar).
if someone have free time, please give me some help!Thanks very much!
waiting for reply!
|