title: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found"
body: <p>I write simple code in jsp and want to get a query from data base and show it in this page . 
  my data base is created and have some sample data in , but when i write : </p>
  
  <pre><code>        &lt;sql:setDataSource  var="co"   driver="com.mysql.jdbc.Driver" 
                          url="jdbc:mysql://localhost:3306/sys3"
  
                          user="root"
                          password="amir"
                          /&gt;
      &lt;sql:query var="res" dataSource="co"&gt;
          Select sec_id from section
      &lt;/sql:query&gt;
  </code></pre>
  
  <p>it show this error on glassfish server :</p>
  
  <blockquote>
    <p>javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver found"</p>
  </blockquote>