The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


calling applet from a servlet

Posted by Edel Greevy on July 31, 2001 at 8:55 AM

What you need to do is specify the codebase, ie. tell the servlet where the applet is.
Something like this is needed
applet code=File.class codebase=http://localhost/etc

> Hi,
> I am using an applet, and its called from a servlet.
> Running it in my local system, it's perfect; but when i try to do it in my server, I am getting class not found error in IE 5 . The applet file is in the servlet folder. Can some one please help me with this problem. I will appreciate any help.

> Thank you from Spain


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us