Export content to HTML, XLS, RTF or PDF
cctemplate.xsp needs to be changed. rtf instead of .pdf in this line: ex.exportRTFOutputStream(tempData, url,"out.pdf");}]]>