mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Update JasperReportsResult.java
This commit is contained in:
-6
@@ -385,12 +385,6 @@ public class JasperReportsResult extends StrutsResultSupport implements JasperRe
|
||||
} catch (JRException e) {
|
||||
LOG.error("Error producing {} report for uri {}", format, systemId, e);
|
||||
throw new ServletException(e.getMessage(), e);
|
||||
} finally {
|
||||
try {
|
||||
conn.close();
|
||||
} catch (Exception e) {
|
||||
LOG.warn("Could not close db connection properly", e);
|
||||
}
|
||||
}
|
||||
|
||||
response.setContentLength(output.size());
|
||||
|
||||
Reference in New Issue
Block a user