Skip to Main Content

Applet and JARs

jvr GuestFeb 8 2011 — edited Feb 9 2011
Hi,

I have created a little applet that calls to a method of a class stored in a jar file which is allocated in the JAVA_HOME/jre/lib/ext/myfile.jar in my computer.

It works, the code at the myfile.jar works correctly in my computer.

The problems begins at the moment to execute the applet in the webserver.
I have saved the myfile.jar at JAVA_HOME/jre/lib/ext/ at server and the applet is on the web root directory. like in my computer.

It works when I have the myfile.jar in my computer at JAVA_HOME/jre/lib/ext/
but when I have deleted myfile.jar in my computer, the class is not found when the applet tries to be executed.

How can I do that the applet, call to methods in the class of myfile.jar in the ext dir at the server?

Is need a servlet?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Mar 9 2011
Added on Feb 8 2011
4 comments
76 views