Thanks Erik, Yes execute method of ExceptionHandler will be invoked when Action's execute method throws an Exception. But my question was .. Whether it will be invoked if some exception occurs at the time of population the ActionForm's properties. Population is done by Struts Utils classes. So I am not very much sure whether it will execute it or not .
Sachin -----Original Message----- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 11:55 PM To: Struts Users Mailing List Subject: Re: Will the execute method of ExceptionHandler be called ? Yes. The execute method of an ExceptionHandler is invoked whenever an Action's execute method throws an Exception that the ExceptionHandler is configured to handle (via "exception" elements in struts-config.xml). It is then up to the handler to provide the forward rather than the Action. http://struts.apache.org/userGuide/building_controller.html#exception_handle r Erik Sachin Bhutada wrote: >hi All, > It may be a silly question but just wanted to make sure. If some >exception is thrown at the time setting the bean properties, then will the >execute method of >Exception handler be called ? I am thinking of using declarative exception >handling it it works. > >Thanks in Advance. > >Sachin > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]