Have u restarted your web  server after making dir WEB-INF?




Hi,

Two months ago I put my nose in JSP Tech.
Now, I'm trying  to connect to Oracle with JDBC, but it donīt works ;-|
My code is something like that :

...
<%@taglib uri="/WEB-INF/dbtags.tld" prefix="sql" %>

<sql:connection id="conn">
    <sql:url> jdbc:oracle:thin:@database:1521:orcld </sql:url>
    <sql:driver> oracle.jdbc.driver.OracleDriver </sql:driver>
    <sql:userId> USER </sql:userId>
    <sql:password> PWD  </sql:password>
</sql:connection>
....


The problema is this :

javax.servlet.ServletException: Driver class
'oracle.jdbc.driver.OracleDriver' not found

java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)

at org.apache.jsp.index$jsp._jspService(index$jsp.java:278)
...


Of course I have the drivers : classes12.zip. This is in C:
\forte4java\lib\ext
and I have ClassPath = C:\forte4java\lib\ext.
Can you help me?

Thanks in advance.
Antonio



----------
Antonio Goncalves

Grupo de HidroInformatica
Departamento de Hidraulica
Laboratorio Nacional de Engenharia Civil

address: Av. Brasil, 101, 1700-066 Lisboa, Portugal
phone: ++351 218443561
fax....: ++351 218443036
e-mail: [EMAIL PROTECTED]

=====================================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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


==========================================================================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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to