Skip to content
Snippets Groups Projects
Commit 1eeed1fb authored by Clemens Kupke's avatar Clemens Kupke
Browse files

removed password

parent ea03d72a
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<title>JSP Example </title></head><body><table>
<%
Class.forName("org.postgresql.Driver");
Connection dbconn = DriverManager.getConnection( "jdbc:postgresql://devweb2018.cis.strath.ac.uk:5432/postgres","clemens","ben30mk");
Connection dbconn = DriverManager.getConnection( "jdbc:postgresql://devweb2018.cis.strath.ac.uk:5432/postgres","<USERNAME>","<PASSWORD>");
Statement sql = dbconn.createStatement();
ResultSet results = sql.executeQuery("SELECT ename FROM emp where empno >= 7700");
while(results.next())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment