• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

jasper reports html format not displayed inspite of doing all the changes mentioned in similar post

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic