Matthew Hailstone wrote:
>I am trying to create a download server. ;) Here is the pipeline
>fragment and the error page:
>
>Environment:
>
>Win2K
>Tomcat 4.1.3
>Cocoon 2.0.3
>jdk 1.3.1_03
>
>pipeline:
>
> <!-- Download Server -->
> <map:pipeline>
> <map:match pattern="download">
> <map:act type="request">
> <map:parameter name="parameters" value="true"/>
> <map:act type="resource-exists">
> <map:parameter name="url" value="download/{file}"/>
> <map:read src="download/{file}"/>
>
Perfect fit for:
http://xml.apache.org/cocoon/faq/faq-sitemap.html#faq-7
Vadim
> </map:act>
> <map:generate src="filenotfound.xml"/>
> <map:transform src="filenotfound2html.xsl"/>
> <map:serialize/>
> </map:act>
> </map:match>
> </map:pipeline>
>
...
---------------------------------------------------------------------
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]>