diff --git a/WebContent/html/imgs/potato.png b/WebContent/html/imgs/potato.png new file mode 100644 index 0000000..cd69eda Binary files /dev/null and b/WebContent/html/imgs/potato.png differ diff --git a/WebContent/html/javascript/listing.js b/WebContent/html/javascript/listing.jsp similarity index 79% rename from WebContent/html/javascript/listing.js rename to WebContent/html/javascript/listing.jsp index f67c432..0d05c48 100644 --- a/WebContent/html/javascript/listing.js +++ b/WebContent/html/javascript/listing.jsp @@ -1,11 +1,40 @@ +<%@ page import = "database.MySQLAccess" %> +<%@ page language="java" contentType="text/html; charset=ISO-8859-1" + pageEncoding="ISO-8859-1"%> + + + + +Insert title here + + +<% +MySQLAccess myaccess = new MySQLAccess(); +myaccess.connectDB(); +String name = myaccess.getResult()[0][0]; +String description = myaccess.getResult()[0][1]; +String hardware = myaccess.getResult()[0][2]; +//out.println(name); +//out.println(description); +//out.println(hardware); +%> + + + + \ No newline at end of file diff --git a/WebContent/html/javascript/navbar.js b/WebContent/html/javascript/navbar.js index 0cd657f..963f850 100644 --- a/WebContent/html/javascript/navbar.js +++ b/WebContent/html/javascript/navbar.js @@ -1 +1 @@ -document.getElementById('navbaruniversal').innerHTML = '
' \ No newline at end of file +document.getElementById('navbaruniversal').innerHTML = '
' diff --git a/WebContent/html/webpages/index.html b/WebContent/html/webpages/index.html index 1ff77d6..3993eb2 100644 --- a/WebContent/html/webpages/index.html +++ b/WebContent/html/webpages/index.html @@ -61,7 +61,7 @@

Return

- + - + <%@ include file="../javascript/listing.jsp" %> \ No newline at end of file diff --git a/bin/.gitignore b/bin/.gitignore new file mode 100644 index 0000000..dd4c872 --- /dev/null +++ b/bin/.gitignore @@ -0,0 +1 @@ +/features/