> -----Message d'origine-----
> De : SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]]
> Envoyé : jeudi 13 février 2003 16:25
> À : [EMAIL PROTECTED]
> Objet : Re: newbies : problem with sitemap.xmap
>
>
> hmm.
>
> what's the name of your cocoon webapplication ?
> is it "cocoonsamples" ?

yes

webapps +
        |
        +- cocoonsamples +
....

> or do you have a subdirectory named cocoonsamples
> in your cocoon webapp ?
>
> in the latter case try:
>
> http://localhost:8080/cocoon/cocoonsamples/staticpages/index.html
>
> dont like cocoon in your URL ? then look at
>
> http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerDefaultContext
>
> regards, hussayn
>
>
> arnaud wrote:
> > 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]>
> >
>
> --
> Dr. Hussayn Dabbous
> SAXESS Software Design GmbH
> Neuenhöfer Allee 125
> 50935 Köln
> Telefon: +49-221-56011-0
> Fax:     +49-221-56011-20
> E-Mail:  [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> 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]>


---------------------------------------------------------------------
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