Re: Handling exceptions in a custom result

2007-08-07 Thread Vinod Singh
page return "error"; } } Vinod Original Message ---- Subject: Handling exceptions in a custom result From: Juan Damasceno <[EMAIL PROTECTED]> To: user@struts.apache.org Date: Tuesday, August 07, 2007 4:56:41 PM I need to do so

Re: Handling exceptions in a custom result

2007-08-07 Thread Juan Damasceno
It doesn´t works, the Result is executed after the Interceptors On 8/7/07, Thorsten Schäfer <[EMAIL PROTECTED]> wrote: > > > I need to do something like: > > > > public void execute(ActionInvocation invocation) throws > > Exception { > > try { > >// Some operations > >

RE: Handling exceptions in a custom result

2007-08-07 Thread Thorsten Schäfer
> I need to do something like: > > public void execute(ActionInvocation invocation) throws > Exception { > try { >// Some operations > } catch (Exception e) { >//Send user to a error page > } > } > > Any idea? You could write an intercepto

Re: Handling exceptions in a custom result

2007-08-07 Thread Juan Damasceno
tions > } catch (Exception e) { >//Send user to a error page >return "error"; > } > } > Vinod > > ---- Original Message > Subject: Handling exceptions in a custom result > From: Juan Damasceno <[EMAIL PROTECTED]&g

Re: Handling exceptions in a custom result

2007-08-07 Thread Vinod Singh
} Vinod Original Message Subject: Handling exceptions in a custom result From: Juan Damasceno <[EMAIL PROTECTED]> To: user@struts.apache.org Date: Tuesday, August 07, 2007 4:56:41 PM I need to do something like: public void execute(ActionInvocation invocation)

Handling exceptions in a custom result

2007-08-07 Thread Juan Damasceno
I need to do something like: public void execute(ActionInvocation invocation) throws Exception { try { // Some operations } catch (Exception e) { //Send user to a error page } } Any idea?