I am using Spring MVC, Spring.
Well, I have programmed a button to export the contents of a list using (retrieved with parameters used in the JSP page) Japerreports and used the View technology support in Spring MVC via JasperReportsMultiFormatView class mainly to export to EXCEL files, when I click on the button (the onSubmit event is fired) there are two situations arise using IE. One is that the excel file is downloaded to my computer and then opened using Microsoft Excel file (outside the IE browser, and this is desirable), the other is my web page is replaced to an inline version and thus the user can think it was lost and has to click the back button to see the IE browser again and possibly not in the same page.
My question is. Is there a way to solve the problem to always force IE to download file no matter it has an embedded EXCEL viewer inside the IE browser.
I would like to know.
One other solution is to use a popup windows but a problem here is how do I post parameters to the page.
Well this also happens to PDF rendering.
Hope you can help or know of someone who knows a better solution for this though question.,
Thanks in advance and hoping your reply is on the way.