--- /dev/null
+<%@ page import="java.io.*, java.util.*, javax.servlet.*, java.sql.*" %>
+<%
+
+try {
+ String connectionURL = "jdbc:mysql://localhost/bdVols";
+ Connection connection = null;
+ Class.forName("com.mysql.jdbc.Driver").newInstance();
+ connection = DriverManager.getConnection(connectionURL, "fraggle", "$Love79!");
+ if(!connection.isClosed())
+ out.println("Successfully connected to " + connectionURL + " MySQL server using TCP/IP");
+ connection.close();
+ } catch (Exception e){
+ out.println("Unable to connect to database: " + e);
+ }
+
+%>