mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Resolved WW-3294 - missing property for rethrowException
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@922572 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -21,13 +21,12 @@
|
||||
|
||||
package org.apache.struts2.views.jsp;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.opensymphony.xwork2.util.ValueStack;
|
||||
import org.apache.struts2.components.ActionComponent;
|
||||
import org.apache.struts2.components.Component;
|
||||
|
||||
import com.opensymphony.xwork2.util.ValueStack;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
/**
|
||||
* @see ActionComponent
|
||||
@@ -41,6 +40,7 @@ public class ActionTag extends ContextBeanTag {
|
||||
protected boolean executeResult;
|
||||
protected boolean ignoreContextParams;
|
||||
protected boolean flush = true;
|
||||
protected boolean rethrowException;
|
||||
|
||||
public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
|
||||
return new ActionComponent(stack, req, res);
|
||||
@@ -55,6 +55,7 @@ public class ActionTag extends ContextBeanTag {
|
||||
action.setExecuteResult(executeResult);
|
||||
action.setIgnoreContextParams(ignoreContextParams);
|
||||
action.setFlush(flush);
|
||||
action.setRethrowException(rethrowException);
|
||||
}
|
||||
|
||||
protected void addParameter(String name, Object value) {
|
||||
@@ -85,4 +86,9 @@ public class ActionTag extends ContextBeanTag {
|
||||
public boolean getFlush() {
|
||||
return this.flush;
|
||||
}
|
||||
|
||||
public void setRethrowException(boolean rethrowException) {
|
||||
this.rethrowException = rethrowException;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user