From 703613901b1c8d9db5b7e5473b156eeb08e247c3 Mon Sep 17 00:00:00 2001 From: Kruthi Bhat Date: Thu, 27 Jan 2022 16:53:34 -0500 Subject: Fix for Pentest - Common error message fix for 404 error Change-Id: I94fe35c8ac758d7887f440248f400a307b29d16d Issue-ID: VID-987 Signed-off-by: krutbhat@att.com --- epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp | 14 ++++++++++++++ epsdk-app-onap/src/main/webapp/WEB-INF/web.xml | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp 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 @@ + +Something went wrong! + + + + + + Error Page + + +

Something went wrong. Please go back to the previous page or + try again later.

+ + \ 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 @@ /app/ui/* + + 404 + /vid/epsdk-app-onap/src/main/webapp/WEB-INF/jsp/errorPage.jsp + \ No newline at end of file -- cgit 1.2.3-korg