narasimharaghavan
Programmer
I am invoking a Crystal Report on the web.
The following is the code I am using(taken from the Seagate Developer help).
<html>
<head>
<title>Seagate Crystal Smart Viewer for Java</title>
</head>
<body bgcolor=C6C6C6>
<applet code=com.seagatesoftware.img.ReportViewer.ReportViewer
codebase="/viewer/JavaViewer"
id=ReportViewer
width=100%
height=95%
archive="/viewer/JavaViewer/ReportViewer.jar">
<param name=Language value="en">
<param name=ReportName value="sales_order.rpt">
<param name=ReportParameter value="">
<param name=SelectionFormula value="">
<param name=HasGroupTree value="true">
<param name=ShowGroupTree value="true">
<param name=HasRefreshButton value="true">
<param name=HasPrintButton value="true">
<param name=HasExportButton value="true">
<param name=HasTextSearchControls value="true">
<param name=CanDrillDown value="true">
<param name=PromptOnRefresh value="true">
<param name=cabbase value="/viewer/JavaViewer/ReportViewer.cab">
</applet>
</body>
</html>
The report is coming up both on Internet Explorer 6, and Netscape 4.5
However, in IE the print button for the report is not displayed(it is displayed in Netscape)
If I change the JVM in Internet Options to the Java 2 HotSpot VM provided by SUN the print button appears, but the error 'Failed to connect to server' is displayed and the report does not appear.
Please help.
The following is the code I am using(taken from the Seagate Developer help).
<html>
<head>
<title>Seagate Crystal Smart Viewer for Java</title>
</head>
<body bgcolor=C6C6C6>
<applet code=com.seagatesoftware.img.ReportViewer.ReportViewer
codebase="/viewer/JavaViewer"
id=ReportViewer
width=100%
height=95%
archive="/viewer/JavaViewer/ReportViewer.jar">
<param name=Language value="en">
<param name=ReportName value="sales_order.rpt">
<param name=ReportParameter value="">
<param name=SelectionFormula value="">
<param name=HasGroupTree value="true">
<param name=ShowGroupTree value="true">
<param name=HasRefreshButton value="true">
<param name=HasPrintButton value="true">
<param name=HasExportButton value="true">
<param name=HasTextSearchControls value="true">
<param name=CanDrillDown value="true">
<param name=PromptOnRefresh value="true">
<param name=cabbase value="/viewer/JavaViewer/ReportViewer.cab">
</applet>
</body>
</html>
The report is coming up both on Internet Explorer 6, and Netscape 4.5
However, in IE the print button for the report is not displayed(it is displayed in Netscape)
If I change the JVM in Internet Options to the Java 2 HotSpot VM provided by SUN the print button appears, but the error 'Failed to connect to server' is displayed and the report does not appear.
Please help.