summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp/help.jsp
diff options
context:
space:
mode:
Diffstat (limited to 'BKUOnline/src/main/webapp/help.jsp')
-rw-r--r--BKUOnline/src/main/webapp/help.jsp34
1 files changed, 28 insertions, 6 deletions
diff --git a/BKUOnline/src/main/webapp/help.jsp b/BKUOnline/src/main/webapp/help.jsp
index 29343171..72781e38 100644
--- a/BKUOnline/src/main/webapp/help.jsp
+++ b/BKUOnline/src/main/webapp/help.jsp
@@ -1,7 +1,29 @@
-<%--
- Document : help
- Created on : 05.11.2008, 10:55:52
- Author : Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
---%>
+<!--
+ Copyright 2008 Federal Chancellery Austria and
+ Graz University of Technology
-<jsp:include page="/helpfiles/index.html"/>
+ 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"%>
+<%@ page import="java.util.Locale"%>
+<%
+ String pathInfo[] = (request.getPathInfo() != null) ? request
+ .getPathInfo().split("/") : new String[] {};
+ String language = pathInfo[1].split("_")[0];
+ String filename = pathInfo[2];
+ String path = "/helpfiles/" + language.toLowerCase() + "/" + filename;
+ System.out.println(path);
+%>
+
+<jsp:include page="<%=path%>" flush="true"/>