Link to home
Start Free TrialLog in
Avatar of letsbedecent
letsbedecent

asked on

what does setting this header in response imply ?

Hello,

response.setHeader("Content-Disposition","attachment; filename=\"" + attachmentVO.getFileName() + "\"");

Can you tell me what does this do ??  

Does this pop the  File - Download Window ??

Thanks
Avatar of koppcha
koppcha
Flag of United States of America image

Yes
Avatar of bloodredsun
FYI:

If you fancy some staggeringly boring reading, check out this http://www.faqs.org/rfcs/rfc2183.html which is the official working group presention on this header. But other than that, koppcha is absolutely correct.

(just passing through, please ignore this comment for points purposes :-))
ASKER CERTIFIED SOLUTION
Avatar of koppcha
koppcha
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial