• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Crystal Reports using java servlets.

 
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can we call crystal reports using java servlets.
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.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic