<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <% String connectionURL = "jdbc:sqlserver://localhost:1433;databaseName=DB;user=***;password=***"; Connection connection = null; Statement statement = null; ResultSet rs = null; %> <% try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance(); connection = DriverManager.getConnection("jdbc:sqlserver://localhost:1433","***","***"); statement = connection.createStatement(); rs = statement.executeQuery("SELECT * FROM employee"); } catch(SQLException e) { out.print(""); } %>