wood burning stoves 2.0*
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
Author

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



<html><body>

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

</body>
</html>


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
Rakesh
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41905
    
  63
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PHP_applet not loading