Yes, my action's addActionError() was called, but not the execute() method.
It is very sad what I should fill view data inside addActionError() instead
of execute().



newton.dave wrote:
> 
> http://struts.apache.org/2.x/docs/file-upload-interceptor.html
> 
> It's a validation error, isn't it?
> 
> d.
> 
> --- saint_john <[EMAIL PROTECTED]> wrote:
> 
>> 
>> Hi all,
>> 
>> I've got the following problem:
>> 
>> I have a form to upload files and everything works fine until i upload a
>> file larger than upper limit.
>> In this case Struts2 doesn't call my Action.execute() method and i cant
>> notify user about file size problem.
>> It looks like Struts just rejects the request and stops further action
>> invocations.
>> Why struts doesn't pass execution control back to my action? Does there
>> exist any params to change this behaviour?
>> 
>> Thanks in advance.
>> 
>> 
>> Environment:
>> Struts 2.0.11, commons-fileupload 1.2
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/FileUpload-problem-for-files-larger-than-allowed-tp14600740p14600740.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/FileUpload-problem-for-files-larger-than-allowed-tp14600740p14601193.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to