Mohan Gangan commented on Oct 25, 2013

Re: Accessing Servlet objects in XPages using the FacesContext object

For further details of how to use the JavaScript global objects see the articles on "Global Objects" and "JavaScript libraries in the XPages engine" .

It would be easier if you have provided the link to text in "".

Best regards,

Mohan Gangan

Simon Mottram commented on May 6, 2009

Getting OutputStreams

Seems to be a problem with getting output streams from the facesContext and externalContext.

facesContext.getResponseStream() always returns null

externalContext.getResponse().getOutputStream() throws an Exception saying that the Writer is already in use.