params = requestParams;
}
Map requestMap = new RequestMap(req);
Map session = new SessionMap(req);
Map application = new ApplicationMap(servletContext);
Dispatcher du = Dispatcher.getInstance();
HashMap ctx = du.createContextMap(requestMap,
params,
session,
application,
req,
res,
servletContext);
try {
ActionMapper actionMapper = du.getContainer().getInstance(ActionMapper.class);
ActionMapping mapping = actionMapper.getMappingFromActionName(action);
ActionInvocation inv = new ValidatorActionInvocation(ctx, true);
ActionProxyFactory actionProxyFactory = du.getContainer().getInstance(ActionProxyFactory.class);
ActionProxy proxy = actionProxyFactory.createActionProxy(inv, namespace, mapping.getName(), mapping.getMethod(), true, true);
proxy.execute();
Object a = proxy.getAction();
if (a instanceof ValidationAware) {