ns69 Posted April 23, 2008 Share Posted April 23, 2008 I developed the reports -- PDF, Word and Excel formats for my web application using JasperReports. From the main jsp page when the user clicks one of these formats, it opens another window and displays the report in that window. But when I open the word and then excel format one after another without closing the reports window, for the excel format it makes a sound as if it want to download and the reports window in the background closes and nothing happens. I am using IE. Has anybody encountered the same issue? JasperReports Gurus, any ideas how to fix this problem? Thanks,NS. Link to comment Share on other sites More sharing options...
ns69 Posted April 23, 2008 Author Share Posted April 23, 2008 Anybody, please I need a solution for this problem!! Jasper Gurus out there, please help me. Thanks,Neeta Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 30, 2008 Share Posted April 30, 2008 Hi, Never heard of this problem before.Try open your reports with some other browser like Firefox and maybe from other machines.If it is related only to a particular browser and machine configuration, then it definitely has nothing to do with JR. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
ns69 Posted April 30, 2008 Author Share Posted April 30, 2008 Hi Teodor, Thanks for the reply. I tested the reports using Mozilla FireFox browser and they work fine as expected. About the reports behavior on different machine configuration, I am seeing the same issue with only IE on all my colleagues machines too. And the strange thing is there is no issue when I open pdf and then word format. So my thoughts are JR on IE browser with the Microsoft Office application is causing this problem. Regards,NS. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 30, 2008 Share Posted April 30, 2008 Hi, I think it is not about JasperReports, because all it does is to produce some character or binary content that you then stream to the browser yourself using a JSP or servlet. I think it has more to do with all those response headers you are setting yourself when you deliver what JR produces. Try put JR besides for a moment and send to the browser some Excel and Word files that you create using MS Office. Do you see the same behavior? If so, then try to solve it with these static files and get back to JR later. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
ns69 Posted May 2, 2008 Author Share Posted May 2, 2008 Yes, you were right, the issue of opening of the word and excel formats is not related to JR. I found a solution to the problem, just changed the open options for file types. My Computer --> Tools --> Folder Options --> File Types --> Advanced and make sure only one checkbox is checked i.e., "Browse in same window". Thanks Teodor for all your help. On a side note any ideas for how to get rid of the boxes around the report elements in the word format? Regards,NS Link to comment Share on other sites More sharing options...
Teodor Danciu Posted May 3, 2008 Share Posted May 3, 2008 Hi, If you can attach such an RTF file to this post, maybe we can help.Actually, creating a different message thread would be better. Thank you,Teodor Link to comment Share on other sites More sharing options...
ns69 Posted May 3, 2008 Author Share Posted May 3, 2008 teodord wrote:Hi,If you can attach such an RTF file to this post, maybe we can help.Actually, creating a different message thread would be better.Thank you,Teodor Actually there is a thread that I created sometime back, please goto http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=8&id=36417#36417. I will also upload the RTF file in that thread. Thanks,NS 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