Reply from humphriesg on Jun 22 at 1:14 AM Franc123 said to make sure you used the correct path separator. This applies to the line: disHeader = "Attachment; Filename=\"" + fileName + "\""; not where you set the content type. This should be like this: response.setContentType("image/jpeg");
| | | ---------------Original Message--------------- From: Reddeiah Sent: Thursday, June 21, 2012 11:58 AM Subject: Content Type Not Working in Linux Environment Hi i used the below content type response.setContentType("image/jpeg"); Actually in our app we have to upload and download one image for that i used regular DataInputStream and Byte[] etc. its working in windows environment and image got downloading but not working in linux environment :( . is there any different for windows and different exist. kindly help me | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |
No comments:
Post a Comment