From 0023041b60401308b94e3fd63283c7c31cad2c22 Mon Sep 17 00:00:00 2001 From: "Donald J. Brown" Date: Tue, 25 Sep 2007 11:55:37 +0000 Subject: [PATCH] Hopefully improved method calls for the action tag WW-2102 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@579210 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/struts2/components/ActionComponent.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/main/java/org/apache/struts2/components/ActionComponent.java b/core/src/main/java/org/apache/struts2/components/ActionComponent.java index aeca699d8..eb944aa8c 100644 --- a/core/src/main/java/org/apache/struts2/components/ActionComponent.java +++ b/core/src/main/java/org/apache/struts2/components/ActionComponent.java @@ -279,9 +279,7 @@ public class ActionComponent extends ContextBean { try { proxy = actionProxyFactory.createActionProxy(namespace, actionName, createExtraContext(), executeResult, true); - if (null != methodName) { - proxy.setMethod(methodName); - } + proxy.setMethod(methodName); // set the new stack into the request for the taglib to use req.setAttribute(ServletActionContext.STRUTS_VALUESTACK_KEY, proxy.getInvocation().getStack()); proxy.execute();