A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Jasper report export html file to servlet output stream, images path not found
Mitesh K Patel
Joined: Nov 24, 2005
Nov 24, 2005 03:23:00
I hv used jasper report for reporting purpose. using
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.
I agree. Here's the link:
subject: Jasper report export html file to servlet output stream, images path not found
HTML from jasper
Jasper usage in J2EE
Jasper Report - PDF not get filled
java html show img src is system path
context.xml + Help Needed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014