| Author |
Mobile phone "SAVE" filename problem
|
Mullin Yu
Greenhorn
Joined: Feb 24, 2005
Posts: 14
|
|
hi, user views a file by browsing to a servlet at tomcat wap/login?path=2005/4/6/63213473/1748291/&filename=cDkwMHNhbXBsZS1leGNlbC54bHMuMDAwMQ%3D%3D&msisdn=63213473 the servlet code: ... ... response.setContentType("image/jpeg"); response.setHeader("Content-Disposition", "inline; filename=" + saveFileName.substring(saveFileName.lastIndexOf("/")+1)); ... ... but, after user views the file on the mobile and try to SAVE it. the filename is not the one set on the Header => filename, but instead mobile phone uses &filename=cDkwMHNhbXBsZS1leGNlbC54bHMuMDAwMQ%3D%3D&msisdn=63213473 as the filename any ideas on this? thanks!
|
 |
 |
|
|
subject: Mobile phone "SAVE" filename problem
|
|
|