velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: applet
Date Mon, 09 May 2005 20:57:06 GMT
Hi jill,

> I moved Star.class to the folder where the template sits. And change the
> applet tag to
> 
> <table cellpadding=0 cellspacing=0 border=0 width="808">
> <APPLET CODE='Star.class' WIDTH = 300 HEIGHT = 300>  </APPLET>
> </table>
> 
> The message from Jave Console is like:

## snip

> java.lang.ClassFormatError: Star (Bad magic number)

Something definitely messed up your class file.
  http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassFormatError.html

I suggest that you first test your applet without Velocity, and move
on to Velocity once you get it working.

Best regards,
-- Shinobu

--
Shinobu Kawai <shinobu.kawai@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message