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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to