Menu
I am trying to use “Packages” object of javascript in order to access java classes directly from javascript. I have seen many examples from different sites and resources. But when i try to run any example in may application, i find javascript error “Packages is undifined”.
A sample line from my code is like,
[B]var javaDate = new Packages.java.util.Date();[/B]
I tried this using IE 6 and 7, but same encountered with same problem.
Waiting for a quick response, its urgent!!!