cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: Uploads
Date Tue, 11 Sep 2001 13:15:33 GMT
On Tue, 11 Sep 2001, Mohit Narain wrote:

> How does one configure where exactly the uploaded files are stored? In the
> xsp file, we have:

There is a upload-directory parameter in the web.xml file which points
to it.

Giacomo

>
> 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. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
>
>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message