cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Dolla <agdo...@mezon.net>
Subject C2 + Tomcat + .html files
Date Wed, 21 Jun 2000 10:24:03 GMT
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




Mime
View raw message