Description:org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: samp/do-upload
Sitemap.xmap as follows: <?xml version="1.0"?> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> <map:components> <map:generators default="file"/> <map:actions> <map:action name="fileupload" src="Fileuploader"/> </map:actions> <map:transformers default="xslt"/> <map:serializers default="html"/> <map:selectors default="browser"/> <map:readers default="resource"/> <map:matchers default="wildcard"/> </map:components> <map:pipelines> <map:pipeline> <map:match pattern="index.html"> <map:generate type="file" src="content/main.xml"/> <map:transform type="xslt" src="style/main.xsl"/> <map:serialize type="html"/> </map:match> <map:match pattern="index.pdf"> <map:generate type="file" src="content/main.xml"/> <map:transform type="xslt" src="style/main-pdf.xsl"/> <map:serialize type="fo2pdf"/> </map:match> <map:match pattern="**upload-form.html"> <map:generate src="style/upload-form.html"/> <map:serialize type="html"/> </map:match> <map:match pattern="**do-upload"> <map:act type="request"> <map:parameter name="parameters" value="true"/> <map:act type="fileupload"> <map:parameter name="upload-dir" value="{upload-dir}$ <map:generate src="style/upload-form.html"/> Html file uploader as follows: <?xml version="1.0"?> <html> <head> <title>Thia Form allows you to upload files</title> </head> <body> <form method="post" enctype="multipart/form-data" action="do-upload"> <p>Please select the file that you wish to upload:<br/> File: <input type="file" name="Uploaded-File" size="50"/> </p> <p><input type="submit" value="Upload File" /> <input type="hidden" name="upload-dir" value="upload"/> </p> </form> </body> </html> If I remove the <map:act cocoon is able to locate the resource. But with action I am getting the above error. Padu. padu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
