The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2001



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.



Posted by Pavan Kumar Keely on July 11, 2001 at 8:02 AM

> Hi,
> I am running an applet with sockets running in a Servlet. When I am running this servlet in any client machines I am getting an error message saying that particular class file of Applet not found. All my class files are in the same directory. I am using the same directory as a virtual one (with virtual name)for virtual path in the web server. I will be thankful if you can help me

Hi Sirisha Prasad,

try putting all the class files of the applet in "public_html" directory, and in the servlet give the codebase attribute (in the applet tag), the relative path of the "public_html"..

example: If you are using JWS, then give this tag in the applet tag( in the servlet)

This may solve your problem, if not feel free to contact me...


Pavan Kumar Keely


Sponsored Links

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