On Mon, 15 Jul 2002, Rutledge, Aaron wrote:
> Date: Mon, 15 Jul 2002 11:53:19 -0600
> From: "Rutledge, Aaron" <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: RE: applet jars
>
> 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.
>
>From Tomcat's point of view, the browser is going to do a download of the
path you specify, exactly like it does for an image. Therefore, you'd
need to put file "com.blah.go.jar" in the same directory as the page
containing the above <applet> tag for Tomcat to find it.
Craig
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>