From e8975a4fd33d83252118507c0d1d4801778c1ea5 Mon Sep 17 00:00:00 2001 From: pb Date: Sat, 21 Feb 2009 19:22:58 +0000 Subject: [PATCH] Nachtrag zu r91, navigation. System synchron mit TUV r1816 git-svn-id: https://svn.libreccm.org/ccm/trunk@84 8810af33-2d31-482b-a856-94f89814c4df --- .../london/navigation/Navigation.java | 33 +++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/ccm-ldn-navigation/src/com/arsdigita/london/navigation/Navigation.java b/ccm-ldn-navigation/src/com/arsdigita/london/navigation/Navigation.java index 5bc6c7081..1a9b70a43 100755 --- a/ccm-ldn-navigation/src/com/arsdigita/london/navigation/Navigation.java +++ b/ccm-ldn-navigation/src/com/arsdigita/london/navigation/Navigation.java @@ -18,7 +18,6 @@ package com.arsdigita.london.navigation; -import com.arsdigita.persistence.OID; import com.arsdigita.persistence.DataObject; import com.arsdigita.persistence.OID; @@ -104,7 +103,37 @@ public class Navigation extends Application { return "ccm-ldn-navigation"; } */ - + + /** + * Returns the path to the location of the applications servlet/JSP. + * + * The methods overwrites the super class to provide a application specific + * location for servlets/JSP. + * + * Usually it is a symbolic name/path, which will be mapped in the web.xml + * to the real location in the file system. You will find the following + * kind of code: + * + * navigation-files + * com.arsdigita.web.ApplicationFileServlet + * + * template-path + * /templates/ccm-ldn-navigation + * + * + * file-resolver + * com.arsdigita.london.navigation.NavigationFileResolver + * + * + * + * + * + * navigation-files + * /ccm-ldn-navigation/files/* + * + * + * @return path to the applications servlet/JSP + */ public String getServletPath() { //return "/files"; return "/ccm-ldn-navigation/files";