Hello, i have this code:
in html file:
<
APPLET archive="Awb.jar" code="Awb.Awb" width=850 height=700>
<param name="p1" value="CN" />
<param name="p2" value="1234" />
</APPLET>
and this code in my applet class:
public Awb() {
super();
init();
String awbprefix = getParameter("p1");
String awbnumber = getParameter("p2");
if (awbprefix.compareTo("none")!=0 && awbnumber.compareTo("none")!=0)
{
airwaybill_frame.awbObj.setPrefix(awbprefix);
airwaybill_frame.awbObj.setAwbnumber(awbnumber);
airwaybill_frame.RequestData("request_awb","awb");
}
}
the Awb() method is the constructor of the applet
i can't get the parameters and getting the error unknown source...
i can't figure out what is the problem
10x ahead