Issue 310: Export to Excel fails in secure pages (HTTPS)
Status:  New
Owner: ----
Reported by vidhya.a...@gmail.com, Mar 29, 2011
Hello,

We have been using Jmesa for a while on our PROD server.
Recently we moved to https with SSL in our server.
Starting then, the export to excel doesnt work.

Says : IE could not find the url.

I found something similar to this issue in 
https://code.google.com/p/jmesa/issues/detail?id=182&can=1&q=Export%20to%20PDF%20fails%20in%20secure%20pages%20(HTTPS)

Any help will be appreciated!

Thanks
Mar 30, 2011
#1 shrividh...@gmail.com
Does Jmesa introduce a "no-cache" header in response?
PROD issue.
Please help!
Mar 30, 2011
Project Member #2 jeff.johnston.mn@gmail.com
You can see the header response settings in the AbstractViewExporter class. 

public void responseHeaders(HttpServletResponse response)
        throws Exception {
  response.setContentType(getContextType());
  String encoding = coreContext.getPreference(ENCODING);
  if (encoding == null) {
      encoding = Charset.defaultCharset().name();
  }
  String fn = new String(fileName.getBytes(encoding), encoding);
  response.setHeader("Content-Disposition", "attachment;filename=\"" + fn + "\"");
  response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");
  response.setHeader("Pragma", "public");
  response.setDateHeader("Expires", (System.currentTimeMillis() + 1000));
}

I wish there was more that I could say...I have not had to export with https yet and have not had the issue.