Hi all,
I'm new to this
applets world and have a basic doubt with loading an applet.
Should all the classes that I use in my applet be present in the same codebase for the browser to find those files? I think the other way is to jar all the files and preload them using <archive> tag.
If so, then how does the browser find the path of all the
java library files (which I would have used in my applet class files?
The reason of my above doubt is this problem :
I am using openjms (a freely available open source JMS utility ) in my applet application and my applet is importing and using many classes from that library. Though I set the system classpath properly to whereever that openjms files are installed, I get an exception saying that the particular class file is not found when I try to load that applet remotely over the internet.
My workaround is to have all those library class files in the same place from where the applet is getting loaded.
But is it really necessary? If so, then as I asked before, how is the browser finding all the java core class files (like java.awt files or java.io files) which I have imported and used in the same applet class?
Any help on this is greatly appreciated.
Thanks in advance.
Vidya.