Usage of the Response Object
(Doc ID 1596205.1)
Last updated on FEBRUARY 24, 2023
Applies to:
Oracle WebCenter Sites - Version 7.6.2 and laterInformation in this document applies to any platform.
Goal
Is the usage of the response object supported for WebCenter Sites?
Is it possible to retrieve the mime type of a file as follows:
response.resetBuffer();
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment;filename=excel.xls");
PrintWriter writer = response.getWriter();
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |