cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SeungwookJung" <jun...@nue.et-inf.uni-siegen.de>
Subject [c2] can't found file
Date Mon, 24 Sep 2001 09:27:39 GMT
Hi all
I am not familiar with cocoon2. I am testing the C2. 
I want to modify the cocoon sample sitemap.xmap . 
The following is original code in sample sitemap.xmap and working well when localhost:8080/cocoon/jsp/hello

   <map:match pattern="jsp/*">
    <map:generate type="jsp" src="/docs/samples/jsp/{1}.jsp"/>
    <map:transform src="stylesheets/page/simple-page2html.xsl"/>
    <map:serialize type="html"/>
   </map:match> 

I am modified such like following and not working when localhost:8080/cocoon/jsp/hello.jsp

My tomcat 3.2 window said "Ctx</cocoon>: 404 R</cocoon + /jsp/hello.jsp + null>
JSP file not found."

  <map:match pattern="jsp/*.*">
    <map:generate type="jsp" src="/docs/samples/jsp/{1}.{2}"/>
    <map:transform src="stylesheets/page/simple-page2html.xsl"/>
    <map:serialize type="html"/>
   </map:match>

  <map:match pattern="jsp/*.jsp">
    <map:generate type="jsp" src="/docs/samples/jsp/{1}.jsp"/>
    <map:transform src="stylesheets/page/simple-page2html.xsl"/>
    <map:serialize type="html"/>
   </map:match>

My system is window2000 server, apache, tomcat 3.2, C2
What should i do?
who say "Ctx</cocoon>: 404 R</cocoon + /jsp/hello.jsp + null> JSP file not found."?
Mime
View raw message