I am trying to build a login form and I get an error when I try introduce a catch statement here is the code
try { cnx = datasource.getConnection(); }