You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by da...@apache.org on 2006/06/29 16:11:44 UTC
svn commit: r418053 -
/cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/web.xml
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>
<!--