A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
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?
subject: Error in Attachment file name
EMail attachment File Name: HOW TO?
Download the .lzh file with prompting file save dialog
Getting attachment filename with special characters(JAVA MAIL API)
how to add -Dfile.encoding=UTF-8
Urgent(Attachment opening inNetscape 6.2)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014