hi,
I am new to jasper reports.I have written a action and service class for Jasper Reports xml is reports.xml,
My problem is red cross are displayed in HTML format , i searched many websites found the code for htmlexporter,i added that code in my service class but still i am not getting the output properly,it shows red cross ,like it shows when image not found,i also made changes in web.xml
I am creating .jrxml through ireport-nb-3.6.1,using eclipse,hibernate
creating .jasper file from class compilation and filling it with list which is generated using hql.
when i give PDF format i get the result,but when i give HTML format i don't get to see proper result all i get is ugly page with small red image not found cross.
I need to embed these in my application please help.
i am getting an exception on line where there is JasperPrint loadobject method
as
o h id:CHECKNEWPRODUCT
net.sf.jasperreports.engine.JRException: Error loading object from file : F:\supriya.projects\kite\kite1\kite\WebContent\jasper\kitereport2.jprint
at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:94)
at reports.JasperService.report1(JasperService.java:333)
at reports.JasperAction.report1(JasperAction.java:40)
.
.
.
.
.
caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
i am providing the code below ..please help me,if any one has any clue about it.
i am trying this from long time..
and yes all jars are properly added.
And i might have written some code completely wrong also i am new to jasper..so please help me out
xml--
changes in web.xml
my service class