jQuery in Action, 3rd edition
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
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: 42965
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: PHP_applet not loading
It's not a secret anymore!