Can we call crystal reports using javaservlets. Please let me know if you have any example code that does this work or any web site or any reference. Basically I need to call a bunch of crystal reports using Java Servlets and publish on the internet explorer.
Hi Baskar, You can send the required parameters from servlet to call the crystal reports. From your query I assumed that you are working with Crystal Enterprise 8.0 configured with an HTTP Server other than IIS(like IBM HTTP Server) For configuration of Crystal Enterprise with IBM HTTP Server refer to Crystal Decisions Knowledge Base. Either you can keep all the reports in a folder, and give the path with the "Report Name(*.rpt)" in the servlet or You can publish the report in the crystal server and give the ID (instead of Name) in the servlet. Try this out: "https://" +CrystalServerName +ReportFolderName(virtual path defined in the Http Server where reports are kept) +ReportName + "?init=html_frame&apsuser=administrator&apspassword=&apsauthtype=secenterprise" + "&promptex-Parameter1= + Variable1 + "&promptex-Parameter2= + Variable2 + "&promptOnRefresh=0"; Here "apsuser" and "apspassword" are the user name and password which are specified for Crystal Enterprise Logon. Hope this will work for u.