@Override
protected ViewAdapter executeAction(Object actionBean, ActionContext context)
{
BasicDispatchAction action = (BasicDispatchAction) actionBean;
ActionMapping mapping = context.getMapping();
String parameterName = mapping.getParameter();
helper.checkParameterName(mapping, parameterName);
String methodName = getMethodName(context, parameterName);
String result = null;
if (methodName == null)
{
result = action.unspecified();
}
else
{
Method method = helper.getMethod(action, methodName);
result = ReflectHelper.invokeMethod(action, method, String.class);