Forums Register Login

PHP_applet not loading

+Pie Number of slices to send: Send

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
+Pie Number of slices to send: Send
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.
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 666 times.
Similar Threads
Applet in html page problem
opening new browser window from applet
applet not inited, help me
applets..audio sound
irritating behaviour of Tomcat 5
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:27:07.