Click to See Complete Forum and Search --> : How to use a javclass from a javascript


May 9th, 2000, 02:48 AM
I have a javscript on my html page. From that script i want to use a Java class. How can i do that ?????

rasikaj
May 12th, 2000, 04:36 AM
You can create package containing all classes you will be requiring in your javascript. And then just import that package. Then you can create instance if that class just as you do in java programming.

eg
<% import mypackage.*;
myclass c; %>