http://www.junlu.com/
Home
»
Home (12/2007)
»
Struts 2
»
Handling exceptions in a custom result
Juan Damasceno
2007-08-07
Replies:
Handling exceptions in a custom result --
Juan Damasceno
2007-08-07
Handling exceptions in a custom result
--
Thorsten Schäfer
2007-08-07
Handling exceptions in a custom result
--
Juan Damasceno
2007-08-07
Handling exceptions in a custom result
--
Vinod Singh
2007-08-07
Handling exceptions in a custom result
--
Juan Damasceno
2007-08-07
Handling exceptions in a custom result
--
Vinod Singh
2007-08-07
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?
©2008 junlu.com - Jax Systems, LLC, U.S.A.