I
iksrazal
I'm having a discussion with a group of programmers who are convinced,
unfortunately, that it is possible get a Connection with Tomcat with
the DB driver jar placed in WEB-INF/lib . There motive is they only
want to distribute the WAR. I'm not asking about another alternative,
just if this is possible.
Of course, they get
ava.lang.ClassNotFoundException: com.mysql.jdbc.Driver
with:
Class.forName(drive);
Connection con = DriverManager.getConnection(url,user,password);
I'm invloved trying to find a solution, and a curiosity if some
classloader magic may ber able to solve it.
iksrazal
unfortunately, that it is possible get a Connection with Tomcat with
the DB driver jar placed in WEB-INF/lib . There motive is they only
want to distribute the WAR. I'm not asking about another alternative,
just if this is possible.
Of course, they get
ava.lang.ClassNotFoundException: com.mysql.jdbc.Driver
with:
Class.forName(drive);
Connection con = DriverManager.getConnection(url,user,password);
I'm invloved trying to find a solution, and a curiosity if some
classloader magic may ber able to solve it.
iksrazal