Martin Something similar came up where someone wanted to throw some kind of security exception if the user wasn't logged on - they had it working fine with the execute() method of their actions but wanted to also do the same kind of thing in the ActionForm.validate() method. Do you think theres a case for extending the struts exception handling to cover all the steps in the RequestProcessor.process() method?
Niall Martin Cooper wrote: > You can't, at least not without extending RequestProcessor or modifying (or > wrapping) CommonsMultipartRequestHandler. The FileUploadException is thrown > when the request is being parsed, which is at the time the form bean is > being populated. That happens before your action is invoked. The exception > is caught by Struts, and converted to a ServletException. Unfortunately, > this doesn't propagate to the global exception handler (although perhaps it > should), so it bubbles right out the top. > > -- > Martin Cooper --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]