Iam calling a crystal report from java applet,but when i try to run from the browser,iam getting the
the following error.
Error:Unable to load report [connecting to page server(my machine name in lan)]
<p>This is my code.</p>
<p>

package troy;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.*;
import java.applet.*;
import java.io.*;
import pmk.com.report.*;
import com.seagatesoftware.img.ReportViewer.*;
import com.seagatesoftware.img.ReportViewer.http.*;
/*<APPLET CODE="troy.Report.class" WIDTH="450" HEIGHT="300">
</APPLET>*/

public class Report extends Applet implements ActionListener
{


TextField TextField3 = null;
TextField TextField2 = null;
Button Button3 = null;
Button Button2 = null;
TextField TextField1 = null;
Button Button1 = null;

public Report() throws Exception, java.beans.PropertyVetoException
{
super();
setLayout(null);
Button2 = new Button ("View BookSheet Report");
Button2.setName ("Button2");
Button2.setBounds(244,109,195,41);
Button2.setFont (new Font ("Helvetica",0,12));
Button2.setForeground (new Color (0x000000));
Button2.setBackground (new Color (0xc6c6c6));
add (Button2);
Button2.addActionListener(this);
TextField1 = new TextField ("TextField1");
TextField1.setName ("TextField1");
TextField1.setBounds(92, 71 ,147,29);
TextField1.setFont (new Font ("Helvetica", 0, 12));
TextField1.setForeground (new Color (0x000000));
TextField1.setBackground (new Color (0xffffff));

add (TextField1);
TextField1.addActionListener(this);

setBounds(0, 0, 579, 500);

}


void Button2_actionPerformed()
{
try{
ReportBeanProperties b = new ReportBeanProperties();

b.setReportName("http://localhost:80/Reports/Troy.rpt&init=java");
b.setReportParameter("user0=praj&password0=p7raj&prompt1=12214");
b.setShowGroupTree(false);// Set Show Group Tree to False
b.setForeground(new Color(0Xff00aa00 ));
b.init();
}catch(Exception ee)
{
System.out.println("Exception in main");
ee.printStackTrace();
}
}



public void actionPerformed(ActionEvent obj )
{
if (obj.getSource() == Button2)
{
Button2_actionPerformed();
}

}

public void paint(Graphics g) {
super.paint (g);
Dimension d = getSize();
}
}

</p>