aspose file tools*
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: 39547
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 - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: PHP_applet not loading
Similar Threads
Applet in html page problem
applet not inited, help me sound
irritating behaviour of Tomcat 5
opening new browser window from applet