Dexters February 2016

JavaScript error when importing a package

getting the following error when importing netscape.javascript


org.mozilla.javascript.EcmaError: ReferenceError: "netscape" is not defined.

Trying to use javascript within applet to get access to cookies. Using the following as an example to import required package


Dexters February 2016

Found out by trial and error.

It seems we need to prefix with Packages


Post Status

Asked in February 2016
Viewed 3,385 times
Voted 4
Answered 1 times


Leave an answer