IE cannot download foo.jsf. IE was not able to open this internet site. The requested site is either unavailable or cannot be found

前端 未结 2 633
日久生厌
日久生厌 2020-12-04 01:11

I\'m providing a file download (usually CSV or PDF) in my JSF web application on a HTTPS (SSL) host. It works fine in most browsers, only IE7/8 gives the following error:

2条回答
  •  Happy的楠姐
    2020-12-04 02:02

    The issue wouldn't be related to jsf as it's just converting commandbutton to html which is accessible in all browsers. I'm guessing the issue is in abcBean.downloadCSV. Are you setting the content-type properly on the csv file?

    Can you describe what occurs in your action method?

提交回复
热议问题