parameters, jrRS);
}else{
jasperPrint = JasperFillManager.fillReport(jasperReport,
parameters, connection);
}
new PrintPreview(jasperPrint);
} catch (JRException e1) {
logger.error("JRException when try printing : "+modelUrl+" : "+e1.getMessage());
}