Barbara Slupik pisze:
Hello
Do you have enctype=multipart/form-data in your ft:form-template
element? It should look similar to this:
ft:form-template action=#{$cocoon/continuation/id}.continue
method=POST enctype=multipart/form-data
See http://cocoon.apache.org/2.2/blocks/forms/1.0/483_1_1.html
Barbara
On 18 Aug, 2009, at 10:27 am, Tomek Piechowicz wrote:
Hi.
I`m trying to upload file via upload widget in CForms (Cocoon 2.2).
When I try to upload text files everything goes fine, but when I try
to upload zip, pdf or jpeg files then server throws exception :
Caused by: org.apache.cocoon.ResourceNotFoundException: Error during
resolving of the input stream
Does anyone know what this error means ?
Regards,
Tomek Piechowicz
-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org
-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org
Thank you very much for your reply.
My problem was that I didn`t know that there is limit on upload file
size (default 100kb ?). So after I set property :
org.apache.cocoon.uploads.maxsize = 1000
everything started to work properly.
Regards,
Tomasz Piechowicz
-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org