Hi Bernd,

On Thursday 14 July 2005 12:56, you wrote:
> I have a custom activateExceptionPage() in my engine that redirects to
> a special page displaying the error if the given cause is "instanceof
> FileUploadException". I know this is not strictly a file size
> exception, but it works for me. I think all other cases throwing a
> FileUploadException (like user aborting the upload) result in no page
> being sent to the browser anyway.

Okay. Great, thanks for the reply.

I got this working, but I think it is quite ugly. But as you, I too cannot 
find any other way to do it.

Lucky for me, I have only one place where I use Upload component. If I had 
more than one place, I would be unable to know which page to forward to. I 
cannot get to the parameters that can tell me which page the error was on, as 
all the parameters are mime-encoded, and will not be decoded when max limit 
is reached.

Hmmm.

Anyway, ugly but works. Thanks!

/Per

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

Reply via email to