Is it possible to NOT embed a webapp output ?

Sebastien LERIDON <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,
I use :
response.encodeURL(request.getContextPath()+...
...to encoded my urls in my webapp, and it works fine in jahia.
 
But my webapp is building RTF files :
 
resp.setContentType("application/doc");
resp.addHeader("Content-Disposition", "attachment;filename=export.rtf;");
PrintStream ps = new PrintStream(out);
ps.println("xxxxxxx"); 
 
>> if i encode my URL, i'm loosing the response type in the jahia's request
processing, and the output is printed in the middle of the html template
rendering.
>> if i do not encode my URL, i'm loosing the session
 
so, is it possible to bypass the jahia's request processing ?
 

thanx
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.