hello, it's me again. I a very poor newbie with cocoon. I'm trying since today 8am to produce a good error page 404 when a document not found by cocoon. So i'm using handle error. But it doesn't work with me. I tried to find information which can help me and i found nothing. :( If anyone can help me ?
i join my sitemap.xmap : <?xml version="1.0" encoding="UTF-8"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <map:components> <map:generators default="file"> <map:generator name="file" src="org.apache.cocoon.generation.FileGenerator"/> </map:generators> <map:transformers default="xslt"> <map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"/> </map:transformers> <map:readers default="resource"> <map:reader name="resource" src="org.apache.cocoon.reading.ResourceReader"/> </map:readers> <map:serializers default="html"> <map:serializer mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/> <map:serializer mime-type="text/html" name="html" src="org.apache.cocoon.serialization.HTMLSerializer"/> <map:serializer mime-type="image/png" name="svg2png" src="org.apache.cocoon.serialization.SVGSerializer"/> <map:serializer mime-type="application/pdf" name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer"/> <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml" pool-grow="2" pool-max="64" pool-min="2" src="org.apache.cocoon.serialization.XMLSerializer"> <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public> <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system> <encoding>UTF-8</encoding> </map:serializer> </map:serializers> <map:matchers default="wildcard"> <map:matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/> </map:matchers> </map:components> <map:pipelines> <map:pipeline> <map:match pattern="*.xhtml"> <map:generate src="content/{1}.xml"/> <map:transform src="transforms/article_mcinema.xsl"/> <map:serialize type="xhtml"/> </map:match> <map:match pattern="*.html"> <map:generate src="content/{1}.xml"/> <map:transform src="transforms/simple-page2html.xsl"/> <map:serialize type="html"/> </map:match> <map:handle-errors> <map:transform src="context://transform/error2html.xsl"/> <map:serialize status-code="404"/> </map:handle-errors></map:pipeline> </map:pipelines> </map:sitemap> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]