You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by SeungwookJung <ju...@nue.et-inf.uni-siegen.de> on 2001/09/24 11:27:39 UTC
[c2] can't found file
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."?