cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juha Muilu <juha.mu...@helsinki.fi>
Subject Re: request params are lost with multipart forms
Date Wed, 25 Aug 2004 12:24:34 GMT
I  found it!!!
Need to enable uploads in web.xml!!
    <init-param>
      <param-name>enable-uploads</param-name>
      <param-value>true</param-value>
    </init-param>

..I think it was working before upgrading the cocoon...
Cheers, Juha

Juha Muilu wrote:

> Hi
> Sorry to bother  this can be something trivial...
>
> For some reason I cannot get request parameters in flowscript when 
> submitted form has
> enctype="multipart/form-data" -definition. only null is returned (and 
> getParameterNames returns empty list)
>
> When I remove the def then the cocoon.request.get("param") call works 
> and returns the value..
>
> I wonder have I missed something... I am not very familiar with the 
> cocoon. The version I am using is 2.1.5.1
>
> Best Regards, Juha
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message