Hi Freddy, thanx for your help. There is a Implementation for FileUploadLimitExceededException within the DefaultExceptionHandler which i can use. Since im not afraid of DoS attacs in my application (the upload is in a restricted area) i will just set the Max Upload size to a very high value and add the Validation Error tag to the field.
It would have been nicer to handle the Error within the ActionBean but after browsing through the code of the HttpServletRequestWrapper implementations i finaly understood why its not possible to do so if you limit the upload size. Regards Falko Freddy Daoud schrieb: > ...forgot to add that you have to tell Stripes to use your custom exception > handler. If you're using Stripes 1.5, just place the class in a package > that you've configured in web.xml with the Extension.Packages parameter. > Let me know if you need more details about this. > > Cheers, > Freddy > http://www.stripesbook.com > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
