martinc 2003/02/06 21:25:24
Modified: src/share/org/apache/struts/util RequestUtils.java
Log:
Do not remove the action mapping from the request for multipart requests.
This means that the action mapping will always be available under the
Globals.MAPPING_KEY request attribute, regardless of the type of request
being processed.
Revision Changes Path
1.82 +4 -5
jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java
Index: RequestUtils.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- RequestUtils.java 6 Feb 2003 03:01:58 -0000 1.81
+++ RequestUtils.java 7 Feb 2003 05:25:23 -0000 1.82
@@ -1065,7 +1065,6 @@
request, multipartHandler);
names = Collections.enumeration(multipartParameters.keySet());
}
- request.removeAttribute(Globals.MAPPING_KEY);
}
if (!isMultipart) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]