ActionForward forward = null;
if (!(mapping instanceof DisablingActionMapping)) {
forward = super.processActionPerform( request, response, action, form, mapping);
}
else {
DisablingActionMapping customMapping = (DisablingActionMapping) mapping;
if (customMapping.isActionDisabled()) {
forward = customMapping.findForward("underConstruction");
}
else {
forward = super.processActionPerform( request, response, action, form, mapping);
}
}
return forward;