Firefox и Chrome добавляют подчеркивание до и после имени файла, в то время как Internet Explorer работает нормальноJAVA

Программисты JAVA общаются здесь
Гость
Firefox и Chrome добавляют подчеркивание до и после имени файла, в то время как Internet Explorer работает нормально

Сообщение Гость »


Firefox and Chrome are appending underscores before and after the file name while Internet Explorer is working fine.

Firefox and Chrome give: _Warrant_Amendment_5485_14_March_2014.pdf.pdf_

IE gives: Warrant_Amendment_5485_14_March_2014.pdf.pdf

Below is the code
response.setContentType("application/pdf"); response.setHeader("Content-Disposition", "inline;filename=\" + fileName + ".pdf\");

Источник: https://stackoverflow.com/questions/224 ... le-interne

Вернуться в «JAVA»