On Thu, 2004-07-29 at 16:22, Armaz Mellati wrote:
> Hi
> 
> I have a big problem concerning submitting form-data when using POST and
> enctype="multipart/form-data".
> I have a simple form with method="post" and enctype="multipart/form-data".
> But when I submit the form data, Cocoon receives no request parameters. I
> can se that clearly by looking at the log-files (I use DEBUG level)
> 
> If I change post to get or remove enctype, it works. 
> I must have post and enctype because I want to upload files.
> 
> Is this a known bug somehow ? I couldn't find any info on it in archives.
> Is there any solution ?

You need to set the parameter enable-uploads to true in WEB-INF/web.xml

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to