:?
gente olhem so
to usando NetBeans 5.5 e adcionei o drive
mysql-connector-java-5.0.4-bin
ao projeto
no jstl:
<sql:setDataSource var="ds"
url="jdbc:mysql://localhost/bd2" driver="com.mysql.jdbc.Driver"
user="marcio" password="jg123"
/>
quando rodo a aplicao da o seguinte erro
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
:shock:
javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: “java.sql.SQLException: No suitable driver”
root cause
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: “java.sql.SQLException: No suitable driver”
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
