Re: Extending ActionConfig in Struts2

2007-08-08 Thread Vinod Singh
Any clues?? Thanks, Vinod Original Message Subject: Extending ActionConfig in Struts2 From: Vinod Singh <[EMAIL PROTECTED]> To: user@struts.apache.org Date: Tuesday, August 07, 2007 3:05:36 PM Hi All, The Struts 1.x provides a facility to extend the ActionMapp

Re: Handling exceptions in a custom result

2007-08-07 Thread Vinod Singh
} } On 8/7/07, Vinod Singh <[EMAIL PROTECTED]> wrote: Do something like below- path_to_error.jsp public void execute(ActionInvocation invocation) throws Exception { try { // Some operations } catch (Exception e) { //Send user to a error

Re: Handling exceptions in a custom result

2007-08-07 Thread Vinod Singh
Do something like below- path_to_error.jsp public void execute(ActionInvocation invocation) throws Exception { try { // Some operations } catch (Exception e) { //Send user to a error page return "error"; } } Vinod

Extending ActionConfig in Struts2

2007-08-07 Thread Vinod Singh
Hi All, The Struts 1.x provides a facility to extend the ActionMapping by defining it in web.xml in following manner- mapping CustomActionMapping In Struts 2.x I don't see anyway to extend ActionConfig. The ActionConfig class is hard coded in addAction(...) method of c