Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 57066 invoked by uid 500); 12 Apr 2001 17:00:55 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 57010 invoked from network); 12 Apr 2001 17:00:55 -0000 X-Originating-IP: [148.88.0.11] From: "Robin Green" To: cocoon-users@xml.apache.org Cc: carlo@icil.net Subject: Re: ProducerFromRequest question Date: Thu, 12 Apr 2001 18:00:56 +0100 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Apr 2001 17:00:57.0083 (UTC) FILETIME=[246794B0:01C0C372] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Carlo Lau wrote: >I've running Cocoon 1.8.2 and have written a Producer similar to the >ProducerFromRequest.java in Cocoon 1.7.4 This was removed because it is a security risk. It's like giving anyone shell access to your server. >I then pass an xml file in the request from a servlet and it generates >correct output the first time, but the results remain the same no matter >how >i change the content of the request. It only works after i delete the temp >java files in the repository directory each time. That's because the XSPProcessor in Cocoon1 was only designed to be used after ProducerFromFile and not any other Producer or Processor. I suggest you rethink your process, because even if it did work, it would recompile the page each time any user requested it, which is slow, very memory-hungry, and unnecessary. Check the FAQ on "servlet chaining". _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: