Click to See Complete Forum and Search --> : Create java Objects


lakshman
05-06-2003, 11:47 PM
Hi all,

I found var javaString = new java.lang.String("Hello world!"); at
http://devedge.netscape.com/library/manuals/2000/javascript/1.5/reference/javarray.html#1193137


is it valid....!!!!


If it is. I can't get it to work I get Error : 'java is undefined'
What do I need to do.

I am keen on using the java.util.Hashtable.

Please Help.

Jona
05-07-2003, 12:38 AM
You are probably using Internet Explorer. I don't think that this Java code works with IE. It probably don't works in Nestcape. Try using a Netscape browser instead.

Charles
05-07-2003, 05:33 AM
Better yet, don't mix Java with JavaScript.

Jona
05-07-2003, 10:59 AM
LOL, yeah, Charles. :p