This is an automated email from the ASF dual-hosted git repository.

jogep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/master by this push:
     new 9088405  Fix compile issue of jasper plugin with latest jasper version
9088405 is described below

commit 9088405b0f001ed788a781d55bbb9f11ec832352
Author: Johannes Geppert <jo...@apache.org>
AuthorDate: Sat Feb 9 15:35:12 2019 +0100

    Fix compile issue of jasper plugin with latest jasper version
---
 .../org/apache/struts2/views/jasperreports/JasperReportsResult.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
 
b/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
index c79e1b6..4eeb52d 100644
--- 
a/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
+++ 
b/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
@@ -352,7 +352,7 @@ public class JasperReportsResult extends 
StrutsResultSupport implements JasperRe
                 Map imagesMap = new HashMap();
                 request.getSession(true).setAttribute("IMAGES_MAP", imagesMap);
 
-                exporter = new JRHtmlExporter();
+                exporter = new HtmlExporter();
                 exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, 
imagesMap);
                 exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, 
request.getContextPath() + imageServletUrl);
 

Reply via email to