cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arnaud" <>
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






but index.html exist in staticpages directory

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

any idea ?


<map:sitemap xmlns:map="">


        <map:generator name="html"

      <map:transformers default="xslt"/>

      <map:serializers  default="html"/>

        <map:matcher name="referer-match"



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



Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message