incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r765485 - /incubator/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
Date Thu, 16 Apr 2009 06:39:53 GMT
Author: cziegeler
Date: Thu Apr 16 06:39:53 2009
New Revision: 765485

URL: http://svn.apache.org/viewvc?rev=765485&view=rev
Log:
SLING-910 : Change default configuration to "0" for prefix - which is usually /apps but also
works if the search paths have been configured to completly other paths.

Modified:
    incubator/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java

Modified: incubator/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java?rev=765485&r1=765484&r2=765485&view=diff
==============================================================================
--- incubator/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
(original)
+++ incubator/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
Thu Apr 16 06:39:53 2009
@@ -93,7 +93,8 @@
      */
     public static final String PROP_SERVLET_ROOT = "servletresolver.servletRoot";
 
-    public static final String DEFAULT_SERVLET_ROOT = "/apps";
+    /** The default servlet root is the first search path (which is usally /apps) */
+    public static final String DEFAULT_SERVLET_ROOT = "0";
 
     private static final String REF_SERVLET = "Servlet";
 



Mime
View raw message