diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-11-02 19:18:18 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-11-02 19:18:18 +0000 |
commit | f6f554b66ac63710897004a31172d644b9f23688 (patch) | |
tree | 300415500d2d624d57ae13cfd8a02a2de1fa42a6 /BKUOnline/src/main | |
parent | 3df51a1c7c40d3f41dd2fcd74b5873acc3470635 (diff) | |
download | mocca-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')
-rw-r--r-- | BKUOnline/src/main/webapp/404.jsp | 3 |
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"; |