Hi all,

I'm accessing a mySQL database via JSTL:

<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql"; %>

<sql:setDataSource var="example" scope="application"
   driver="com.mysql.jdbc.Driver"
   url="jdbc:mysql://localhost/testDB"
   user="****"
   password="****"
/>
...

This works fine. However, I fail to find correct info on how to set
this DataSource to be the default one in server.xml (or by Tomcat's
web interface). I'm running Tomcat 4.1.12 and mySQL 3.23.51 How to
set the database in web.xml would be helpful as well.

thanks

Petter Karlstr�m

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to