Perhaps you need to install the JDBC 2.0 Optional Package Binary for the javax.sql.*:
http://java.sun.com/products/jdbc/download.html As for the other import issue, sun.jdbc.rowset.*, my best guess is that this is a jdbc driver (I'm new to this!) and it may be in some package somewhere or perhaps you have to buy something to have it ... *but*, if it is "just a JDBC driver", then there are alternatives: org/gjt/mm/mysql/ResultSet.class This is from unzip -l some-mysql-thing.jar ; that is, the JDBC driver for MySQL. It's out there somewhere. Hope this helps, Elizabeth DvB <[EMAIL PROTECTED]> writes: > I tried to run a jsp page on my testing box with mozilla and tomcat and > got errors about not being able to find javax.sql and sun.jdbc.rowset, > among others. After searching, I figured out that these packages are > part of the j2ee... or so I concluded from what I found. > > My question: is there a package (official or unofficial) for debian that > includes the above packages? I have the unofficial j2sdk1.3 and j2re1.3 > installed already. > > Here're the errors, in case there's something I'm missing: > > Error: 500 > Location: /examples/ism/country.jsp > Internal Servlet Error: > > org.apache.jasper.JasperException: Unable to compile > Found 16 semantic errors compiling > "/var/cache/tomcat/DEFAULT/examples/ism/country_1.java": > > 6. import javax.sql.*; > <-------> > *** Error: Could not find package "javax/sql" in: > /usr/lib/j2re1.3/lib/rt.jar > /usr/share/java/repository > /usr/lib/j2sdk1.3/jre/lib/rt.jar > /usr/lib/j2sdk1.3/lib/tools.jar > /usr/share/tomcat/lib/tomcat.jar > /var/lib/tomcat/webapps/examples/WEB-INF/classes > /var/cache/tomcat/DEFAULT/examples > /usr/share/tomcat/lib/container/xalan.jar > /usr/share/tomcat/lib/container/xerces.jar > /usr/share/tomcat/lib/common/etomcat.jar > /usr/share/tomcat/lib/common/connector_util.jar > /usr/share/tomcat/lib/common/core_util.jar > /usr/share/tomcat/lib/common/tomcat_core.jar > /usr/share/tomcat/lib/common/jasper-runtime.jar > /usr/share/java/servlet-2.2.jar > . > > > > 7. import sun.jdbc.rowset.*; > <-------------> > *** Error: Could not find package "sun/jdbc/rowset" in: > /usr/lib/j2re1.3/lib/rt.jar > /usr/share/java/repository > /usr/lib/j2sdk1.3/jre/lib/rt.jar > /usr/lib/j2sdk1.3/lib/tools.jar > /usr/share/tomcat/lib/tomcat.jar > /var/lib/tomcat/webapps/examples/WEB-INF/classes > /var/cache/tomcat/DEFAULT/examples > /usr/share/tomcat/lib/container/xalan.jar > /usr/share/tomcat/lib/container/xerces.jar > /usr/share/tomcat/lib/common/etomcat.jar > /usr/share/tomcat/lib/common/connector_util.jar > /usr/share/tomcat/lib/common/core_util.jar > /usr/share/tomcat/lib/common/tomcat_core.jar > /usr/share/tomcat/lib/common/jasper-runtime.jar > /usr/share/java/servlet-2.2.jar > > <rest of errors not included> > > > TIA > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]