Howdy,
Applet jars need to be accessible to the browser.  Therefore, they
cannot be under /mywebapp/WEB-INF.  Put them under /mywebapp/applets,
for example /mywebapp/applets/myApplet.jar.

Then your web page would have something like
<applet code="com.myclass" archive="/applets/myApplet.jar">

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Rutledge, Aaron [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 15, 2002 1:33 PM
>To: Tomcat Users List (E-mail)
>Subject: applet jars
>
>Hello list,
>     I have been trying to embed a simple applet in a web page and keep
>getting a ClassNotFoundException.  However, I have placed the jars in
my
>webservers CLASSPATH and I am able to launch (non-applet) applications
>contained in the JAR succesfully form the server.  I am wondering if I
>need to do some sort of special configuration for applets in TomCat?  I
>have tried placing the JARS in my web ap. lib directory, the root
>directory, in the tomcat lib--everything!  Am I missing something?
>Regards to all, Aaron
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:tomcat-user-
>[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to