Commits

Anonymous committed c173d51

fixed bug introduced when refactoring

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@110573baa09-0c28-0410-bef9-dab3c582ae83

Comments (0)

Files changed (1)

src/java/com/opensymphony/webwork/dispatcher/ServletDispatcher.java

  */
     public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException {
 
-		//wrap request if needed
 		try {
-			request = wrapRequest(request);
+	        serviceAction(request, response, getNameSpace(request), getActionName(request), getParameterMap(request), getSessionMap(request), getApplicationMap());
 		} catch (IOException e) {
 			String message = "Could not wrap servlet request with MultipartRequestWrapper!";
 			log.error(message, e);
 			sendError(request, response, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, new ServletException(message, e));
 		}
-
-        serviceAction(request, response, getNameSpace(request), getActionName(request), getParameterMap(request), getSessionMap(request), getApplicationMap());
     }
 
     /**
         return getNamespaceFromServletPath(servletPath);
     }
 
-    protected Map getParameterMap(HttpServletRequest request) {
+    protected Map getParameterMap(HttpServletRequest request) throws IOException {
+		request = wrapRequest(request);
         return request.getParameterMap();
     }