Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 31938 invoked by uid 500); 11 Sep 2001 10:01:17 -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 31926 invoked from network); 11 Sep 2001 10:01:16 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Chris Newland Reply-To: chris.newland@emorphia.com To: cocoon-users@xml.apache.org Subject: Re: Uploads Date: Tue, 11 Sep 2001 11:00:07 +0000 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01091111000700.01095@darthvader> Content-Transfer-Encoding: 8bit X-Return-Path: chris.newland@emorphia.com X-MDaemon-Deliver-To: cocoon-users@xml.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Mohit, Look in WEB-INF/web.xml: upload-directory upload_location_relative_to_cocoon_webapp_dir Hope this helps, Regards, Chris On Tuesday 11 September 2001 09:48, you wrote: > How does one configure where exactly the uploaded files are stored? In the > xsp file, we have: > > public void contextualize(Context context) throws ContextException { > uploadDir = (File) context.get(Constants.CONTEXT_UPLOAD_DIR); > } > > I tried to change this as follows: uploadDir = (File) "c:\"; However, the > page did not display. Any idea where/how we should configure this? > > Also, when the upload completes, by default, the "upload" page reloads. > However, if the upload code is in some file of ours (say try.xsp), then > where do we configure it to reload this page after the upload is complete? > > Looking forward to your response, > Best Wishes...Mohit > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: