atom feed6 messages in org.apache.tomcat.usersRE: applet jars
FromSent OnAttachments
Rutledge, AaronJul 15, 2002 10:32 am 
Nick WesselmanJul 15, 2002 10:39 am 
Shapira, YoavJul 15, 2002 10:43 am 
Rutledge, AaronJul 15, 2002 10:52 am 
Craig R. McClanahanJul 15, 2002 11:02 am 
Rutledge, AaronJul 15, 2002 11:03 am 
Subject:RE: applet jars
From:Rutledge, Aaron (ARut@5prime.com)
Date:Jul 15, 2002 10:52:57 am
List:org.apache.tomcat.users

The user's browser is requesting the applet classes from TomCat, right? I understand that the applet doesn't run on the server, but somehow TomCat needs to know what classes to send and that is what I am confused on. How can I refer to my JARs in my web page, and where do I place them on the server? I assumed they would just be placed in the root directory along with the page and a simple call like...

<applet width="400" height="400" code="com.blah.go.MYApplet" archive="com.blah.go.jar" alt="My Applet"> </applet>

It appears that Tomcat doesn't know where the jar is.

_________________________ Aaron Rutledge Electronic Business Specialist Eppendorf - 5 Prime, Inc. 6135 Gunbarrel Ave., Ste 230 Boulder, CO 80301 Tel: 303-583-7019

-----Original Message----- From: Nick Wesselman [mailto:ni@digivis.com] Sent: Monday, July 15, 2002 11:40 AM To: Tomcat Users List Subject: Re: applet jars

Since it's an applet, it needs to be in the applet JAR in the browser. The Applet runs in the user's browser, not in tomcat.

Nick

On Monday, July 15, 2002, at 12:32 PM, Rutledge, Aaron wrote:

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