Question

I have a java applet project whichs starts a webcam and displays it on a window. I am trying to integrate this applet into my web-app, for that I have exported my applet as a JAR and included in my web-app and used it on my JSP page by using applet tag. Now I got a message that the digital signature cannot be verified. I am currently trying to sign my applet and use it, but I don't find any tutorials for that.

Can somebody please guide me that?

What I am trying to do is legal or can I try some other way to integrate my applet into JSP page or any other way to have webcam capture functionality in Java web application.

Was it helpful?

Solution 2

Emm... I do suppose so when you 'exported' your applet to JAR the signature became invalid or something; actually any modifications make it invalid... so I guess you need to

  • A) As a tip, first clean your JRE certificates cache (then try to restart your JSP; if it won't do then read B,C points)
  • B) Pack your (with blank manifest) applet into JAR
  • C) If you have the keystore sign the applet JAR with jarsigner util

Report if that helped

OTHER TIPS

You need to sign an applet jar before running it as an applet. This is a link for your reff.: http://docs.oracle.com/javase/tutorial/deployment/jar/signing.html Once jar is signed you can run it, if it still does not work try options for running signed content under: control Panel: Java

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top