}
request.setAttribute(ACTION_PATH_KEY, command.getActionConfig().getPath());
// execute action command
DispatchConfig result = null;
try {
result = command.execute(request, response);
} catch (Exception e) {
result = handle(request, response, command.getActionConfig(), e);
}
// dispatch request
if (result != null) {
Dispatcher dispatcher = pluginContext.getDefaultDispatcher();
String name = result.getDispatcher();
if (name == null) {
name = command.getActionConfig().getDispatcher();
}
if (name != null) {
dispatcher = pluginContext.getDispatcher(name);