You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ryan Agler <ry...@hotmail.com> on 2001/11/14 11:15:31 UTC
prevent cocoon:/xxx caching
Hello~! I have a small problem that's driving me nuts Im wondering if
anyone knows the answer to. In my sitemap, I have a pipeline (let's call it
pipeline REF) with a serverpages generator that uses the "cocoon:" src
attribute to reference a different pipeline (let's call it pipeline SRC)
for its input source. Here's an example:
<map:pipeline>
<map:match pattern="SRC">
<map:generate type="serverpages" src="docs/parseParameters.xsp"/>
<map:transform src="stylesheets/createXSPSource.xsl"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
<map:pipeline>
<map:match pattern="REF">
<map:generate type="serverpages" src="cocoon:/SRC" />
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
parseParameters.xsp is a page I wrote that takes an XML document in a
request parameter and converts it into contenthandler elements. This whole
setup works PERFECTLY just ONE time, but then a file called SRC.java gets
created in "work" in a directory called "http_" instead of "file_". Every
request after the first one yields the exact same response -- i.e. cocoon
doesn't know that the request parameters are different. How can I turn it
off so that when I use cocoon:/SRC, that it won't get cached? Any ideas, or
completely different workaround to achieve the same result would be
appreciated 8-)
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>