Internet Explorer will not display attachments when HTTPS is used. This bug has been documented in the link below.
If the development environment is not using HTTPS this issue will be
identified only at a later stage when we move on to integration testing
environment where we normally use HTTPS.
identified only at a later stage when we move on to integration testing
environment where we normally use HTTPS.
The following are the steps to be followed for the workaround.
1. In the Servlet code please use the below snippet.
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Note: The reset of HttpServletResponse is very important.
Following are to be ensured on the browser (client).
1. Ensure Do not save encrypted pages to disk check box is not selected in Internet Explorer.
2. Incase of IE 7, ensure the automatic prompting for downloads is enabled
under Tools–>Internet Options–>Custom Level –> Downloads.
under Tools–>Internet Options–>Custom Level –> Downloads.
No comments:
Post a Comment