From 0da7f66527121c3c218b6aa1b8592982344c60f7 Mon Sep 17 00:00:00 2001 From: mcentner Date: Thu, 6 Nov 2008 16:30:00 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@157 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- BKUOnline/src/main/webapp/help.jsp | 34 ++++++++++++++++++++++++++++------ 1 file 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 ---%> + +<%@ 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); +%> + + -- cgit v1.2.3