This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Applets and the fly likes PHP_applet not loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "PHP_applet not loading" Watch "PHP_applet not loading" New topic

PHP_applet not loading

Rakesh Kumar
Ranch Hand

Joined: May 30, 2006
Posts: 63

Dear friends,

I am developing one php application. In this application i am loading applets as below


<applet name = "eventApp" archive="./Applet/event/event.jar" code="EventMonitoring.class" width="500" height="440">


But th eproblem is applet not loading and sjowing t eerrro like "classformatexception Incompatible Magic value is in class file".

This code come sin .php file and we installed the php in this httpd apache server.

Please share your views regarding this and help me in solving the issue.

Thanks in advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
It sounds as if the jar file might be damaged. Is it byte-for-byte identical to your working local copy? Maybe you transferred it via ASCII FTP instead of binary FTP?

Also, remove the "./" from the archive attribute.
subject: PHP_applet not loading
It's not a secret anymore!