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
}
}
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
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
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
4 matches
Mail list logo