ekbush 2002/10/18 15:29:07
Modified: src/share/org/apache/struts/actions ForwardAction.java
Log:
ForwardAction should be context-relative as per javadoc.
Revision Changes Path
1.5 +8 -5
jakarta-struts/src/share/org/apache/struts/actions/ForwardAction.java
Index: ForwardAction.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/actions/ForwardAction.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ForwardAction.java 16 Oct 2002 15:17:23 -0000 1.4
+++ ForwardAction.java 18 Oct 2002 22:29:06 -0000 1.5
@@ -148,7 +148,10 @@
}
// Let the controller handle the request
- return new ActionForward(path);
+ ActionForward retVal = new ActionForward(path);
+ retVal.setContextRelative(true);
+
+ return retVal;
}
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>