Hello,

I created a file upload action and I need to uplaod big files

<action name="upload" class="action.UploadAction" method="doUpload">
        <interceptor-ref name="fileUpload">104857600</interceptor-ref>
        <interceptor-ref name="basicStack"/>
        <result name="input">/input.jsp</result>
        <result>/upload.jsp</result>
</action>

but for some reason, i allways get message that the file is to big if it is 
bigger than 2MB. I did a bit of debugging and it showed that 
FileInterceptor#maximumSize property is correctly set but

        if (multiWrapper.hasErrors())

returns true even before maximumSize property is checked.


I guess I have 2 fileUpload interceptors, default one where maximumSize is not 
overriden and mine. Can anyone explain what is going one and how to configure 
my action.


Thanks!


      

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

Reply via email to