Nachtrag zu r91, navigation. System synchron mit TUV r1816

git-svn-id: https://svn.libreccm.org/ccm/trunk@84 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2009-02-21 19:22:58 +00:00
parent 256c92fe42
commit e8975a4fd3
1 changed files with 31 additions and 2 deletions

View File

@ -18,7 +18,6 @@
package com.arsdigita.london.navigation;
import com.arsdigita.persistence.OID;
import com.arsdigita.persistence.DataObject;
import com.arsdigita.persistence.OID;
@ -105,6 +104,36 @@ public class Navigation extends Application {
}
*/
/**
* 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:
* <servlet>
* <servlet-name>navigation-files</servlet-name>
* <servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
* <init-param>
* <param-name>template-path</param-name>
* <param-value>/templates/ccm-ldn-navigation</param-value>
* </init-param>
* <init-param>
* <param-name>file-resolver</param-name>
* <param-value>com.arsdigita.london.navigation.NavigationFileResolver
* </param-value>
* </init-param>
* </servlet>
*
* <servlet-mapping>
* <servlet-name>navigation-files</servlet-name>
* <url-pattern>/ccm-ldn-navigation/files/*</url-pattern>
* </servlet-mapping>
*
* @return path to the applications servlet/JSP
*/
public String getServletPath() {
//return "/files";
return "/ccm-ldn-navigation/files";