aspose file tools*
The moose likes Other Java Products and Servers and the fly likes calling crystal report from jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "calling crystal report from jsp" Watch "calling crystal report from jsp" New topic
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: 61760
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling crystal report from jsp