Hi,

Configuration: 
WinNT 4 SP4
JDK1.3 beta
Orion 0.8.1

I have a .jsp page that connects to an Oracle database without problems
like:

<html>
<%
  try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection connection =
        
DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","use
r", "passwd");
    } catch(ClassNotFoundException e) {
      System.out.println(e);
    }
%>
</html>

When I use the !!!EXACT!!! same code in the doEndTag() method in a
BodyTagSupport subclass I get a class-not-found exception. So adding the
tag to the above .jsp file raise the exception:
<html>
   <%
     try {
       ...
     }
   %>
   <mytags:connect></mytags:connect>
</html>

I have added the following line to web-application.xml:
   <classpath>./beans/classes111.zip</classpath>

The file classes111.zip contains the Oracle JDBC driver.

/Morten

Reply via email to