I don't think Turbine per se has anything to do with it, either. I have tried the applet in a very simple HTML page, invoking it with the <applet> tag:
<HTML>
<HEAD>
<META HTTP-EQUIV = "Content-Type" CONTENT = "text/html; charset=iso-8859-1">
<TITLE>
Applet Test Page
</TITLE>
</HEAD>
<BODY>
test0.Applet1 will appear below in a Java enabled browser.<BR>
<APPLET CODEBASE = "Java%20Classes" CODE = "test0.Applet1.class" NAME = "TestApplet" HSPACE = "0" VSPACE = "0" ALIGN = "middle" WIDTH = "400" HEIGHT = "300">
</APPLET>
</BODY>
</HTML>
This works fine, with the "Java Classes" folder at the same directory level as the HTML file. I think the problem might be specifying _where_ the applet's files are; since the HTML is generated dynamically by Velocity, the concept of "the directory the web page lives in" might not apply to the folder the .vm files are in.
-- David
On Nov 19, 2003, at 5:24 PM, Blair Martin wrote:
Hm. Didn't seem to make any difference, but perhaps I misunderstood what you mean by "the root of the web app". To me, this means the same directory level as the WEB-INF folder. Is this correct?
Yeah, that's what I meant. You know, I remember we had the same "bad magic
number" error when we were first playing around with this stuff.
Unfortunately, that was well over a year ago and no one can seem to remember
how we solved it. It may have to do with the JVM version. Anyways, do a
google search of applet AND "bad magic number" and you'll get tons of hits.
Maybe you can figure it out from there.
And have you tested out your applet in a small, non-Turbine webapp? Because
I don't think Turbine has anything to do with it.
Blair
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]