A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Error in Attachment file name
Joined: May 02, 2011
Dec 12, 2011 23:39:58
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?
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Error in Attachment file name
Getting attachment filename with special characters(JAVA MAIL API)
Urgent(Attachment opening inNetscape 6.2)
Download the .lzh file with prompting file save dialog
how to add -Dfile.encoding=UTF-8
EMail attachment File Name: HOW TO?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013