cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dani...@apache.org
Subject svn commit: r418053 - /cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml
Date Thu, 29 Jun 2006 14:11:44 GMT
Author: danielf
Date: Thu Jun 29 07:11:43 2006
New Revision: 418053

URL: http://svn.apache.org/viewvc?rev=418053&view=rev
Log:
An empty servlet path should be configured with '/*' rather than '/' according to the spec.
It also makes the servletPath method in the request object return "" instead of "/". This
is needed to make contextPath + servletPath + pathInfo make up request URI.

Modified:
    cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml

Modified: cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml?rev=418053&r1=418052&r2=418053&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml (original)
+++ cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml Thu Jun 29 07:11:43 2006
@@ -77,7 +77,7 @@
   -->
   <servlet-mapping>
     <servlet-name>Cocoon</servlet-name>
-    <url-pattern>/</url-pattern>
+    <url-pattern>/*</url-pattern>
   </servlet-mapping>
 
   <!--



Mime
View raw message