cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arnaud" <...@teamlog.com>
Subject RE: newbies : problem with sitemap.xmap
Date Thu, 13 Feb 2003 15:00:31 GMT
ok now its work

just one problem

when i request http://localhost:8080/cocoonsamples/staticpages/index.html
i obtain this error in browser (nothing in tomcat stdout)

----------------------------------------------
Cocoon 2 - Resource not found

type resource-not-found

message Resource not found

description The requested URI "/cocoonsamples/staticpages/index.html" was
not found.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/cocoonsamples/staticpages/index.html

path-info

staticpages/index.html

----------------------------------------------




but index.html exist in staticpages directory


cocoonsamples +
              |
              +- staticpages
              |
              +- WEB-INF +
                         |
                         +- classes



any idea ?




----------------------------------------------

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">

    <map:components>

      <map:generators>
        <map:generator name="html"
src="org.apache.cocoon.generation.HTMLGenerator"/>
      </map:generators>

      <map:transformers default="xslt"/>

      <map:serializers  default="html"/>

      <map:matchers>
        <map:matcher name="referer-match"
src="org.apache.cocoon.matching.WildcardHeaderMatcher"/>
      </map:matchers>

    </map:components>

   <map:pipelines>

     <map:pipeline>
       <map:match type="referer-match" pattern="staticpages/*.html">
           <map:generate type="html" src="staticpages/{1}.html"/>
           <map:serialize/>
       </map:match>
     </map:pipeline>

   </map:pipelines>

</map:sitemap>







---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message