dcsimg
corba client applet
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sam_kaspi
Posted On:   Sunday, April 8, 2001 10:10 PM

I cannot get Sun's tutorial to work on an applet (applications are fine). I am using jdk2 1.3.0_01 with idlj. Printing the exception gives a language nullpointer exception to the statement (ie. this error occurrs unless this line is commented out) - ORB orb = ORB.init(this, null); This occurs even when I do not attempt to pass the arguments via HTMLbut substitute the following lines for the above String args[]={"140.159.207.46","1050"}; ORB orb = ORB.init(args, null); I hope that you can help me with example code for both the applett and the HTML file. Regards sam Kaspi    More>>

I cannot get Sun's tutorial to work on an applet
(applications are fine). I am using jdk2 1.3.0_01 with idlj.
Printing the exception gives a language nullpointer exception to the statement
(ie. this error occurrs unless this line is commented out) -

ORB orb = ORB.init(this, null);


This occurs even when I do not attempt to pass the arguments via
HTMLbut substitute the following lines for the above

String args[]={"140.159.207.46","1050"};
ORB orb = ORB.init(args, null);

I hope that you can help me with example code for both the applett and the HTML file.

Regards


sam Kaspi

   <<Less
About | Sitemap | Contact