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:[EMAIL PROTECTED]]
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
>
> --
> 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]>


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

Reply via email to