summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-11-02 19:18:18 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-11-02 19:18:18 +0000
commitf6f554b66ac63710897004a31172d644b9f23688 (patch)
tree300415500d2d624d57ae13cfd8a02a2de1fa42a6 /BKUOnline/src/main/webapp
parent3df51a1c7c40d3f41dd2fcd74b5873acc3470635 (diff)
downloadmocca-f6f554b66ac63710897004a31172d644b9f23688.tar.gz
mocca-f6f554b66ac63710897004a31172d644b9f23688.tar.bz2
mocca-f6f554b66ac63710897004a31172d644b9f23688.zip
No exception when viewing page directly
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@987 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/webapp')
-rw-r--r--BKUOnline/src/main/webapp/404.jsp3
1 files changed, 2 insertions, 1 deletions
diff --git a/BKUOnline/src/main/webapp/404.jsp b/BKUOnline/src/main/webapp/404.jsp
index c4a351ce..3178f597 100644
--- a/BKUOnline/src/main/webapp/404.jsp
+++ b/BKUOnline/src/main/webapp/404.jsp
@@ -1,6 +1,7 @@
<%
String redirectURL = pageContext.getServletContext().getContextPath();
- if (pageContext.getErrorData().getRequestURI().contains("/help/"))
+ if (pageContext.getErrorData().getRequestURI() != null &&
+ pageContext.getErrorData().getRequestURI().contains("/help/"))
redirectURL += "/help/de/404h.html";
else
redirectURL += "/help/de/404.html";