*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 41180
    
  45
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
 
wood burning stoves
 
subject: PHP_applet not loading
 
Similar Threads
opening new browser window from applet
applets..audio sound
Applet in html page problem
irritating behaviour of Tomcat 5
applet not inited, help me