You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Gabor Dolla <ag...@mezon.net> on 2000/06/21 12:24:03 UTC

C2 + Tomcat + .html files

Hi

Cocoon1's  web.xml has something like this:
    <servlet-mapping>
      <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
      <url-pattern>*.xml</url-pattern>
    </servlet-mapping>
so for every request ending with .xml tomcat passes the request to cocoon

When I installed C2 from CVS recently I found this:
 <servlet-mapping>
  <servlet-name>Cocoon2</servlet-name>
  <url-pattern>/</url-pattern>
 </servlet-mapping>
which means that every request is passed to cocoon2

Is it possible to setup Tomcat to not to pass request ending with .html to
cocoon2 but to serve it from file ?

Gabor