avoiding file download dialog box
Hi,
I tried using
response.setHeader("Content-disposition", "inline;filename=\"" + attachvo.getFile_name() + "\"");
response.setHeader("Content-disposition", "attachment;filename=\"" + attachvo.getFile_name() + "\"");
response.setHeader("Content-disposition", "filename=\"" + attachvo.getFile_name() + "\"");
i am getting the file download box in all the three ways
i dont want to open the dialog box just want to print on browser..
any suggestions
|