Hi,

I have a problem when using the token and fileUpload interceptor together (Struts 2.0.11.2).

When I put fileUpload before token in my interceptor stack and I upload a file larger than the maximum allowed I get 2 error messages:

* the request was rejected because its size (14544755) exceeds the configured maximum (2097152) * The form has already been processed or no token was supplied, please try again.

When I put token before fileUpload in my interceptor stack and I upload a file larger than the maximum allowed I get 1 error messages:

* The form has already been processed or no token was supplied, please try again.

Does someone know how to get just the one error message when uploading a file larger than maximum ?
And only get the token error message when posting the form twice ?

Thanks!

Jeroen




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

Reply via email to