With out your source, I'm not 100% clear on your problem.. However, it may be beneficial to consider that javax.sql.DataSource is part of Sun's "Optional Package" package for JDBC 2.0.
import javax.sql.DataSouce;
To use the preceding import statement in my applications, I took the following steps:
1. Downloaded "JDBC Standard Extension Binary 2.0" (see link below)
2. Placed the download file "jdbc2_0-stdext.jar" in "%JAVA_HOME%/jre/lib/ext"
See http://java.sun.com/products/jdbc/download.html#spec for more information.
Hope that helps a little,
Levi Cook
-----Original Message-----
From: Vardar, Tuna [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 9:25 AM
To: '[EMAIL PROTECTED]'
Subject: A Strange Error when using Forte for Java and Struts ...
Greetings,
I tried to use Forte for Java 2.0 with Struts and got this different error:
Class javax.sql.DataSource not found in type decleration or import.
The reason for this is the line implemented as:
import org.apache.struts.action.ActionServlet;
any comments?
king regards,
tuna