Hi all,
I use Jrun 3.0 to do the jsp page.
I would make a access to oracle db.
I have download the classess111.zip
I wrote this code
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
out.println("<H1>OK </H1>");
} catch ( Exception E) {
out.println(E.getMessage());
out.println("NO DRIVER");
}
try {
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:orcl","xx","xxx");
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery("select count(*) from account");
..
..
..
out.println("OK DB");
} catch (Exception e) {
out.println("<H1>ERRORE</H1>");
out.println(e.getMessage());
}
but the first proble is that the program can't found the oracle-driver.
Where must i copy the file classess111.zip in the JRun 3.0 ..
i have copy the file somewhere .. but the i receive always the same error
Thanks for the help
Peter
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets