JSF - Actuate Reports/Jasper Reports
843844Jul 15 2008 — edited Jul 28 2009Hello,
I am creating a reporting application using jsf .The report server to be used are Actuate and Jasper.
I am generating my criteria page(jsf page where user will input criteria for report) dynamically from an xml file.
The actuate reports are static reports residing on an actuate server. All i need to do is collect the criteria and link the jsp page to the actuate report residing on actuate server.
I am able to connect to the report using context.redirect(context.encodeActionURL(url)) from my backing bean.
But the problem is the report opens up in browser but on a different page. i want to embed the report in the jsf page below the criteria displayed.
How can i achieve this??
Similar problem i am facing with Jasper reports, i am able to open the jasper report in browser as a pdf, but not able to embed it into my criteria.jsp.
For jasper reports, i understood that i need to get the repot bytes into a string buffer and use an outputtext to display that.
I did try that approach, but somehow it doesnt display the proper report, all it displays is <html> tags.
Any help is appreciated.
Thanks in advance
Ashvini