ktrinad Posted August 20, 2006 Share Posted August 20, 2006 By: Robson - rllima SubReport - java.io.StreamCorruptedException 2004-04-05 11:47I made a report with SubReport but it is not functioning. I am using Applet with Servlet. What's wrong ??? Master Report: OrdemFabricacao.jasper SubReport : OrdemFabricacaoFases.jasper My SEVLET: File reportFile = new File(context.getRealPath("/ilp/reports/source/OrdemFabricacao.jasper")); JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath()); jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, con); Obs.: In the line of the method fillReport occurs the error. any idea??? thanks, Robson S o Paulo - Brazil By: Robson - rllima RE: SubReport - java.io.StreamCorruptedException 2004-04-06 07:22The error was because of the localization of the SubReport, therefore I placed path entire of the SubReport and good work! sds Robson (rllima) S o Paulo - Brazil Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now