servlet中實(shí)現(xiàn)下載亂碼解決辦法
1. res.setHeader("Content-disposition", "attachment;filename=" + downLoadFileName + "\"");下載文件名,最后改為 ISO8859_1這種編碼,就ok了
posted on 2010-12-06 15:42 tobyxiong 閱讀(248) 評(píng)論(0) 編輯 收藏 所屬分類: java
posted on 2010-12-06 15:42 tobyxiong 閱讀(248) 評(píng)論(0) 編輯 收藏 所屬分類: java
只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。 | ||
![]() |
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問(wèn)
管理
|
||
相關(guān)文章:
|
||