i want to connect netbeans web application with derpy or mysql .
i use Tomcate so i depend on the web.xml determined on it
<res-ref>,<res-type><res-scope>.
and at the code that manage the connection
public static void getconnection(String url,String password,String driver){
try{
class.forname(driver);
connection = Drivermanager.getconnection(url,password,driver);
}catch(classNotFoundexception e)
{.........}
catch(sqlexception e)
{........} at debuging no any database operation maked i use derpy driver