aboutsummaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src
diff options
context:
space:
mode:
Diffstat (limited to 'epsdk-app-onap/src')
-rw-r--r--epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp14
-rwxr-xr-xepsdk-app-onap/src/main/webapp/WEB-INF/web.xml4
2 files changed, 18 insertions, 0 deletions
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp
new file mode 100644
index 000000000..98a0baf13
--- /dev/null
+++ b/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp
@@ -0,0 +1,14 @@
+<!doctype html>
+<title>Something went wrong!</title>
+
+
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html;">
+ <title>Error Page</title>
+</head>
+<body>
+<h1>Something went wrong. Please go back to the previous page or
+ try again later.</h1>
+</body>
+</html> \ No newline at end of file
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/web.xml b/epsdk-app-onap/src/main/webapp/WEB-INF/web.xml
index 6007fdc22..e90f837d3 100755
--- a/epsdk-app-onap/src/main/webapp/WEB-INF/web.xml
+++ b/epsdk-app-onap/src/main/webapp/WEB-INF/web.xml
@@ -71,4 +71,8 @@
<url-pattern>/app/ui/*</url-pattern>
</filter-mapping>
+ <error-page>
+ <error-code>404</error-code>
+ <location>/vid/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp</location>
+ </error-page>
</web-app> \ No newline at end of file