Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Auge2016-02-17 01:18:58 +0000
committerRaymond Auge2016-02-17 01:18:58 +0000
commit379bea2a45135b5c6c1bac3523742d15ec4016a9 (patch)
treed5f91af4d6227122cef2f054cf393e6d6074b3dc /bundles/org.eclipse.equinox.http.servlet
parentaaa138e4cded371eced945a2a7902f308a80b457 (diff)
downloadrt.equinox.bundles-379bea2a45135b5c6c1bac3523742d15ec4016a9.tar.gz
rt.equinox.bundles-379bea2a45135b5c6c1bac3523742d15ec4016a9.tar.xz
rt.equinox.bundles-379bea2a45135b5c6c1bac3523742d15ec4016a9.zip
Bug 475291 - [http servlet] cleanup the internal attribute
Signed-off-by: Raymond Auge <raymond.auge@liferay.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.http.servlet')
-rw-r--r--bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ProxyMultipartServlet.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ProxyMultipartServlet.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ProxyMultipartServlet.java
index c53baa8c..7ad41de9 100644
--- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ProxyMultipartServlet.java
+++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/ProxyMultipartServlet.java
@@ -39,6 +39,8 @@ public class ProxyMultipartServlet extends HttpServlet {
DispatchTargets dispatchTargets = (DispatchTargets)request.getAttribute(DispatchTargets.class.getName());
if (dispatchTargets != null) {
+ request.removeAttribute(DispatchTargets.class.getName());
+
dispatchTargets.doDispatch(
request, response, alias, request.getDispatcherType());

Back to the top