IResult result = null;
Logger pluginlogger = logger;
IRequest request = getDefaultRequest(req);
try {
request.setParameter(FormHandler.FORM_ACTION, action);
HandlerPlugin plugin = pluginMgr.getPlugin(handler);
logger.info("plugin:" + handler + " - "
+ plugin.getClass().getSimpleName() + " action:" + action);
plugin.setRequest(request);
pluginlogger = LoggerFactory.getLogger(plugin.getClass());
result = plugin.execute(request);
} catch (Exception e) {
IErrorResult errorResult = getDefaultErrorResult();
if (errorResult == null) {
result = new ErrorResult(request, e);