Jump to content
JasperReports Library 7.0 is now available ×

REPORTE JASPERREPORT SE VE BIEN EN NETBEANS PERO AL IMPLEMENTARLO EN PAGINA WEB DE DESALINEA


jesuselora16

Recommended Posts

Paso por aqui para tratar de corregir un inconveniente con jasperreport.

Resulta que al momento de diseñar el reporte desde el plugin de Netbeans, el reporte se ve de manera adecuada, pero al momento de hacer el llamado del reporte desde un aplicativo java web, este se descuadra todo visualmente hablando.

¿Conocen algún parámetro o algo que pueda ocasionar este comportamiento? O ¿alguna forma de mejorar la compatibilidad entre java y jasper?

Reporte en Netbeans

 

 

Link to comment
Share on other sites

  • 1 year later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

bueno a mi me sale un error en el boton de reporte: net.sf.jasperreports.engine.JRException:java.io.FileNotFoundException:Ruta del jasper,

y no veo el reporte, no se cual es el error

 

sperPrint jasperprintdocente = JasperFillManager.fillReport("C:\Users\DANIEL\JaspersoftWorkspace\MyReports\ReporteDocente.jasper", null,llenardocente.conexion());
        JRPdfExporter exportardocente = new JRPdfExporter();
        exportardocente.setExporterInput(new SimpleExporterInput(jasperprintdocente));
        exportardocente.setExporterOutput(new SimpleOutputStreamExporterOutput("ReporteDocente.pdf"));
        SimplePdfExporterConfiguration conf = new SimplePdfExporterConfiguration();
        exportardocente.setConfiguration(conf);
        exportardocente.exportReport();
        JasperPrint jasperimprimirdocente = JasperFillManager.fillReport("C:\Users\DANIEL\JaspersoftWorkspace\MyReports\ReporteDocente.jasper", null,llenardocente.conexion());
        JasperViewer jasperViewer = new JasperViewer(jasperimprimirdocente);
        jasperViewer.setVisible(true);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...