简体   繁体   中英

applet don't load on firefox

Hello I am trying to load applet on web browser. I have create html and include applet tag

<applet code="com.asprise.imaging.scan.ui.demo.PanelMain.class"   
 codebase="."archive="asprise-imaging-ui.jar,asprise-imaging-
 scan-core.jar" width="400" height="300">

I have jar file also in same folder where i created my html,it gives me error.

This plug-in is not supported

Kindly help me to solve this issue.

Thank you.

在此处输入图片说明

In Eclipse select the main applet file right click and export it to runnable jar . Let all the dependent jar's bundled. Then in command prompt browse to the folder your jar is placed and type the following commands.

1.keytool -genkey -keyalg rsa -alias m4key  //m4key unique key
2.keytool -export -alias m4key -file bmcert.crt   //bmcert.crt certificate name
3.jar tvf Jarname.jar verify jar // jarname.jar is the jar file created
4.jarsigner Jarname.jar m4key
5.jarsigner -verify -verbose -certs JarnameJarname.jar 

Then simply use the html script and in code property specify the main file of Applet.

<html>
<applet width="1100" height="600" archive="EnrollmentApplet.jar" code="com/vaazu/biometric/Applet/EnrollmentApplet.class"></applet>             
</html>

If you are using java8 ,the security issue by Java 8, Which is not allowing now to display or load the self signed Applets on browser. Please open configure java in settings and in security TAB put the URL of the html page which is using applet in Exception Site List

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM