Reply from humphriesg on Jun 24 at 7:36 PM To make this cross platform compatible use the FILE.separator instead of "/" or "\". this will put the correct value into your string. EG: String sep = FILE.separator; disHeader = "Attachment; Filename= sep + fileName + sep; A useful reference for you is this site: http://docs.oracle.com/javase/7/docs/api/
| | | ---------------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. __.____._ | _.____.__ |
No comments:
Post a Comment