The following snippet of code continues to get the error below... what
am I doing wrong?
Environment:
JDK 1.4
Tomcat 4.0.6
Thanks for any help in advance!
-Paul
JSP Code:
<%@ page import="java.sql.*,javax.sql.*,sun.jdbc.rowset.*" %>
<jsp:useBean id="crs" class="CachedRowSet" scope="session">
<% try { Class.forName("com.jnetdirect.jsql.JSQLDriver"); }
catch (ClassNotFoundException e) {
System.err.println("Error" + e);
}
%>
Error:
org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.
C:\jakarta-tomcat-4.0.6\work\Standalone\localhost\_\Timeslip\CachedResults$jsp.java:5:
Package sun.jdbc.rowset not found in import.
import sun.jdbc.rowset.*;
^
1 error, 1 warning
===========================================================================
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