Datasource « JSTL « JSP-Servlet Q&A

1. Datasource

U have to add an xml file in jboss\server\default\deploy... Then u have to make a servlet context from jsp or from servlet.. The format is given below mysqlDs jdbc:mysql://localhost:3306/mytest com.mysql.jdbc.Driver put your username hre put your password hre 5 50 30 com.mysql.jdbc.integration.jboss.ExtendedMysq lExceptionSorter com.mysql.jdbc.integration.jboss.MysqlValidCo nnectionChecker mySQL

2. datasource invalid

i m using jstl in my project.when i make connection using (all attributes used are correctly set) and use the datasource in select de_name from de_details it gives me javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/abc" please help.. i need to progress with ...