docs: protected void doExecute(final String _finalLocation, final ActionInvocation _invocation) throws Exception {
          checkParams();
          documentFormat = getFormat(_invocation);
          if (LOG.isDebugEnabled()) {
              LOG.debug("Creating JasperReport for dynamicReport, format = " + documentFormat);
          }
  
          Map actionParametersMap = getParametersMap(_invocation);
  
          final JRDataSource ds = buildJRDataSource(_invocation.getStack().findValue(dataSource));
  
          // (Map) ActionContext.getContext().getSession().get("IMAGES_MAP");
  
          final HttpServletRequest request = (HttpServletRequest)_invocation.getInvocationContext().get(WebWorkStatics.HTTP_REQUEST);
          final HttpServletResponse response = (HttpServletResponse)_invocation.getInvocationContext().get(WebWorkStatics.HTTP_RESPONSE);
  
          if ("contype".equals(request.getHeader("User-Agent"))) {
              // Code to handle "contype" request from IE
              handleConTypeRequest(response);
          } else {
              OgnlValueStackShadowMap parameters = new OgnlValueStackShadowMap(_invocation.getStack());
              parameters.putAll(actionParametersMap);
  
              parameters.put(JRParameter.REPORT_LOCALE, _invocation.getInvocationContext().getLocale());
              LayoutManager layoutManagerObj = getLayOutManagerObj(_invocation);
  
              JasperPrint jasperPrint;
              if (ds!=null)
              	jasperPrint = DynamicJasperHelper.generateJasperPrint(getDynamicReport(_invocation), layoutManagerObj, ds, parameters);
              else
              	jasperPrint = DynamicJasperHelper.generateJasperPrint(getDynamicReport(_invocation), layoutManagerObj, parameters);
  
              // Export the print object to the desired output format
              writeReponse(request, response, jasperPrint, _invocation);
          }
      }