Register / Login
Win a copy of
The Java Performance Companion
this week in the
Error in Attachment file name
posted 4 years ago
Hi below is my code
response.setHeader("Content-Disposition", "attachment; filename="+fileName);
In IE7 the file name is getting appended with some junk charaters.
For IE8 and Firefox it is working correctly.
Did anybody know the reason?
From the trial and error method what I understand is ‘_S ‘is causing the problem.
If we change ‘_S’ to some other letters or append another letter in the end of filename this issue is not coming.
Is there any work around for this?Did anybody knows the reason for this?
Download the .lzh file with prompting file save dialog
EMail attachment File Name: HOW TO?
how to add -Dfile.encoding=UTF-8
Getting attachment filename with special characters(JAVA MAIL API)
Urgent(Attachment opening inNetscape 6.2)