my dog learned polymorphism*
The moose likes Other JSE/JEE APIs and the fly likes Jasper report export html file to servlet output stream, images path not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Jasper report export html file to servlet output stream, images path not found" Watch "Jasper report export html file to servlet output stream, images path not found" New topic
Author

Jasper report export html file to servlet output stream, images path not found

Mitesh K Patel
Greenhorn

Joined: Nov 24, 2005
Posts: 3
Hi,

I hv used jasper report for reporting purpose. using servlet i want to display generated to servlet output stream in same browser.

When i compile .jasper, in servlet, it creates report html file with folder containing images of html file in the same folder as of jasper file.

But when i export the html file to servlet outputstream, path of 'px' and other images used in report is not found. only text is displayed.

It searchs path at the servlet directory instead of jasper file directory, since it is written to servlet output stream.

Can any one help me out. I just simply want to generate html report with images, from jasper file using servlet.
 
wood burning stoves
 
subject: Jasper report export html file to servlet output stream, images path not found
 
Similar Threads
java html show img src is system path
Jasper usage in J2EE
Jasper Report - PDF not get filled
context.xml + Help Needed
HTML from jasper