Re: T5: how to catch Unable to decode multipart encoded request exception in Tapestry-Upload?

2008-07-14 Thread Josh Canfield
Look closely at the exception and I think you'll see that it happens before your page event methods are called while tapestry is decoding the file. This appears to happen in the MultipartServletRequestFilter. I don't have a good solution for intercepting errors at that level off the top of my head

T5: how to catch Unable to decode multipart encoded request exception in Tapestry-Upload?

2008-07-13 Thread AngeloChen960
Hi, I have code like following to upload file, it should be able to handle exceptions like UploadMessage.writeFailure, but it does not catch exception listed at end of the message, any idea why? Thanks, Angelo @Property private UploadedFile _file; @CommitAfter Object onSuccess() {