java - Why when accessing files through servlet, b.exe is converted to download, and a.png is opened with a browser? How to convert a.png to download?
巴扎黑
巴扎黑 2017-05-17 10:09:15
0
1
580

How to convert a.png to download?

巴扎黑
巴扎黑

reply all(1)
给我你的怀抱

Add header information: Content-Disposition: attachment; filename="picture.png"

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!