My Oracle Support Banner

Usage of the Response Object (Doc ID 1596205.1)

Last updated on DECEMBER 07, 2018

Applies to:

Oracle WebCenter Sites - Version 7.6.2 and later
Information 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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.