At 07:15 AM 7/8/01 -0400, you wrote:
>your lookup is wrong. assuming you have a resource reference in your
>web.xml and a mapping in jboss-web.xml then you should be able to
>lookup the datasource with...
>
>DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/mysql");
>
>Al

I must be missing an import of some kind:

org.apache.jasper.JasperException: Unable to compile class for
JSP/usr/jboss2/tomcat/work/localhost_8080%2Fj2ee/_0002ftestMysql_00032_0002e
jsptestMysql2_jsp_3.java:80: Class DataSource not found.
                        DataSource ds =
(DataSource)ctx.lookup("java:comp/env/jdbc/mysql");
                        ^


r.b.




_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to