rajdamale Posted August 10, 2007 Share Posted August 10, 2007 I am create the chart using the jasper report and show it in HTML format, for that i am using the image uri and image dir. But problem i was facing that the jasper report creating the image with same name. So I have add the time stamp to which create new dir and store the image in that directory. Now the problem is that how to delete the temp image created by the jasper report. -Thanks in advance. Link to comment Share on other sites More sharing options...
lucianc Posted August 10, 2007 Share Posted August 10, 2007 If your application is a web application, it is recommended to use the JR images servlet instead of writing images to directories. To see how to use the image servlet, take a look at the "webapp" sample from the JR project distribution. If you still need to use image directories, I'm afraid it will be your responsibility to delete them once you'd no longer need them. Regards,Lucian 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