summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp/help.jsp
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-08-13 09:33:46 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-08-13 09:33:46 +0000
commitcc212daa67a7827c4718a104bb31719eb824c107 (patch)
tree3cd266568e86216f433052252e4274471c327bb4 /BKUOnline/src/main/webapp/help.jsp
parentb16d733781a2f7d2a56f562be7f06090f724a02a (diff)
downloadmocca-cc212daa67a7827c4718a104bb31719eb824c107.tar.gz
mocca-cc212daa67a7827c4718a104bb31719eb824c107.tar.bz2
mocca-cc212daa67a7827c4718a104bb31719eb824c107.zip
[#427] No help in BKULocal
[#433] update BKU Web Start CertStore git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@429 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/webapp/help.jsp')
-rw-r--r--BKUOnline/src/main/webapp/help.jsp52
1 files changed, 0 insertions, 52 deletions
diff --git a/BKUOnline/src/main/webapp/help.jsp b/BKUOnline/src/main/webapp/help.jsp
deleted file mode 100644
index f557dc02..00000000
--- a/BKUOnline/src/main/webapp/help.jsp
+++ /dev/null
@@ -1,52 +0,0 @@
-<!--
- Copyright 2008 Federal Chancellery Austria and
- Graz University of Technology
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
-
-<%
- StringBuilder path = new StringBuilder("/helpfiles/");
-
- //servlet mapping assures pathInfo[0] == help
- //expect pathinfo /help/<languagecode>/<helpfile>
- String pathInfo[] = (request.getPathInfo() != null) ? request
- .getPathInfo().split("/") : new String[] {};
- if (pathInfo.length < 2) {
- path.append("index.html");
- } else {
- if (pathInfo.length > 2) {
- //new Locale(pathInfo[1]).getLanguage() returns de_at
- //anyway, Locale uses _two-letter_ codes as defined by ISO-639
- String language = pathInfo[1].substring(0, 2).toLowerCase();
- if(getServletContext().getResource(path.toString() + language) != null) {
- //System.out.println("help available for requested language " + language);
- path.append(language);
- path.append('/');
- } else {
- //System.out.println("no help available for requested language " + language);
- path.append("de/");
- }
- path.append(pathInfo[2]);
- } else {
- //System.out.println("no language requested");
- path.append("de/");
- path.append(pathInfo[1]);
- }
- }
- //System.out.println(path);
-%>
-
-<jsp:include page="<%=path.toString()%>" flush="true"/>