Im building an app which has in the view uses jsp´s and it has a model for connecting with the DB.
When I run the app in the server, it looks good. It doesnt throws errors but the message of "connected from the model neither". I try to debug but it doesnt goes to the break points, I suppose that it happens because the app doesnt "recognize" the model.
Should I declare the model in the web.xml?
The code is like this:
(Bartender cleanup: please don't post long lines; break them up into shorter lines)
As far as I know the JDBC-ODBC driver has been removed from Java 8. You shouldn't use it, expecially not if you're using Java 8. Remove the Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); and the surrounding try-catch.