diff options
Diffstat (limited to 'BKUOnline/src/main/webapp')
-rw-r--r-- | BKUOnline/src/main/webapp/404.jsp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/BKUOnline/src/main/webapp/404.jsp b/BKUOnline/src/main/webapp/404.jsp index aac3c15d..f5b97295 100644 --- a/BKUOnline/src/main/webapp/404.jsp +++ b/BKUOnline/src/main/webapp/404.jsp @@ -1,3 +1,9 @@ <% - response.sendRedirect("help/404.html"); + String redirectURL = pageContext.getServletContext().getContextPath(); + if (pageContext.getErrorData().getRequestURI().contains("/help/")) + redirectURL += "/help/404h.html"; + else + redirectURL += "/help/404.html"; + + response.sendRedirect(redirectURL); %> |