aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp
diff options
context:
space:
mode:
authorOgnjen Cirkovic <ciraboxkg@gmail.com>2022-12-21 00:40:45 +0100
committerOgnjen Cirkovic <ciraboxkg@gmail.com>2022-12-21 00:40:45 +0100
commit72307dcf589b695babb3a836817fd7b78907fd05 (patch)
treecd83579ebd4c0dc346ba4fe34f7e68123ebfe007 /src/main/webapp
parent91913619a1ef54358d58c8185b60024e0747ac96 (diff)
Inicijalni commit.
Diffstat (limited to 'src/main/webapp')
-rw-r--r--src/main/webapp/META-INF/MANIFEST.MF3
-rw-r--r--src/main/webapp/WEB-INF/web.xml12
-rw-r--r--src/main/webapp/index.jsp21
3 files changed, 36 insertions, 0 deletions
diff --git a/src/main/webapp/META-INF/MANIFEST.MF b/src/main/webapp/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..254272e
--- /dev/null
+++ b/src/main/webapp/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..08c58a0
--- /dev/null
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
+ <display-name>ImiPokemon</display-name>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ <welcome-file>index.jsp</welcome-file>
+ <welcome-file>index.htm</welcome-file>
+ <welcome-file>default.html</welcome-file>
+ <welcome-file>default.jsp</welcome-file>
+ <welcome-file>default.htm</welcome-file>
+ </welcome-file-list>
+</web-app> \ No newline at end of file
diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp
new file mode 100644
index 0000000..9e758a4
--- /dev/null
+++ b/src/main/webapp/index.jsp
@@ -0,0 +1,21 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+ pageEncoding="ISO-8859-1"%>
+ <%@page import="pokemon.Database"%>
+<!DOCTYPE html>
+<% %>
+<html>
+<head>
+<meta charset="ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+<%
+
+Database d=Database.getInstance();
+
+out.print(d.getUsername());
+
+%>
+
+</body>
+</html> \ No newline at end of file