| Author |
calling crystal report from jsp
|
sweta naidu
Greenhorn
Joined: Nov 02, 2004
Posts: 25
|
|
I am developing a struts application and i want to call crystal report from jsp so that users can see the existing report. The crystal report server is in the network and i have to provide authentication and then the report name. Can anyone suggest me where to start.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
|
Since this is much more about the Crystal Reports API than JSP technology, I've moved this to the Other Java Products and Servers forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
sweta naidu
Greenhorn
Joined: Nov 02, 2004
Posts: 25
|
|
|
Thanks for the reply. I am using crystalreports version 11 and tomcat5.5 application server. and it is a enterprise.
|
 |
Sai Venkat
Greenhorn
Joined: Jul 28, 2005
Posts: 4
|
|
Ok you can call a javascript function. In the fuction provide the URL with report_id and parameters that are to be passed for the report template. Example: URL = reportURL+"?rpt=GRP_USER&db="+database+"&GROUP_ID="+grpId+&RANDOM="+counter; window.open(URL,"GroupUsersReport","scrollbars=yes,resizable=yes,width=700,height=650"); Here I am passing the reportURL which points to Main.csp In my example: http://s-ce01d/crystal/ace/screens/main.csp that is - http://servername/path/main.csp Pass the parameters after '?' seperate the parameters with '&'. Hope this helps. Regards, Sai [ August 15, 2005: Message edited by: Sai Venkat ] [ August 15, 2005: Message edited by: Sai Venkat ] [ August 15, 2005: Message edited by: Sai Venkat ]
|
 |
 |
|
|
subject: calling crystal report from jsp
|
|
|