Attached patch fixes the issue. It would be cool if somebody applied it
Could you just verify that the patch still works with the latest Tomcat version?
Yes, it works (4.1.24). http://localhost:8080/Xindice as well as http://localhost:8080/Xindice/ output is "this is ugly debug tool". Before the path, http://localhost:8080/Xindice/ output is directory listing generated by Tomcat.
In addition to this, here is additional collective wisdom as per web.xml of Cocoon:
<servlet-mapping> <servlet-name>Cocoon</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping>
<!-- Some servlet engines (Tomcat) have defaults which are not overriden by '/' mapping, but must be overriden explicitly. --> <servlet-mapping> <servlet-name>Cocoon</servlet-name> <url-pattern>*.jsp</url-pattern>
</servlet-mapping> <!-- Some servlet engines (WebLogic) have defaults which are not overriden by '/' mapping, but must be overriden explicitly. --> <servlet-mapping> <servlet-name>Cocoon</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping>
Vadim