File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Java Products and Servers and the fly likes Same Jasper Report keeps opening Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Same Jasper Report keeps opening" Watch "Same Jasper Report keeps opening" New topic
Author

Same Jasper Report keeps opening

Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

I'm using Jasper Reports in a J2EE Web Application that produces reports in either .pdf or .xls format (user's choice). Here is the problem. If a run a report that produces an .xls file, if I don't close that .xls file, everytime I run any other report, the same xls file will appear in the new window.

When I check my Weblogic console, system print lines show the proper file being accessed. Is there something that I'm missing?

See code from servlet below.



Mike Firkser
Rutgers '84
 
jQuery in Action, 2nd edition
 
subject: Same Jasper Report keeps opening