Embed java applet in html code in email, display a picture if the applet is blocked

Hello, I would like to embed a java applet within an HTML page and send it over email.  Specifically the applet calls a streaming video java player. I

In many email clients (such as later versions of Outlook) I get a security warning stating that "Your current security settings prohibit running ActiveX controls".

I would like the following process to happen but have no experience in Java at all:

Is it possible to sign the applet as safe?
If not I would like the applet to run, if the applet can not run I would like an image displayed - I.E. A click here to play this video image.  If it is plain text only I would like a link to a replica web page displayed in its place.

Is this possible or if not what is the next best solution?


 
supersizeitAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mayank SAssociate Director - Product EngineeringCommented:
You can sign the applet of course (http://www.mindprod.com/jgloss/signedapplets.html, http://personal.vsnl.com/sureshms/javasign1.html), but you cannot send embed it in the HTML and send with the e-mail directly. You will need to attach it to the e-mail as a separate file.

>> If not I would like the applet to run, if the applet can not run I would like an image displayed - I.E

I think that would require some programming at the client-end.... not sure, though.
supersizeitAuthor Commented:
Sorry I forgot to say that the applet calls the code from the internet therefore I should not need to attach the applet? I.E. the .jar and .class files are on the internet.
Mick BarryJava DeveloperCommented:
doubt any mail readers can run an applet, a better approach may be to include a link in your email which points at a page conteining the applet (on a jnlp file if you want to use web start)
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
I think you can just simply send the HTML page having the Embedded Applet as an Attachment for the mail so that when user opens up the Attachment the file will automatically open it in a web browser where the Applet will start running.

Thank You.
Mayank SAssociate Director - Product EngineeringCommented:
Yes, make sure that the applet is downloadable from a server.
supersizeitAuthor Commented:
I am going to rephrase the question:

I already can run the java applet embedded in an email.  In some versions of Outlook and other mail clients the new security settings block the applet from running.  One such warning in Outlook XP and 2003 is: Your current security settings prohibit running ActiveX controls".

How I have done this: The email contains embedded html links to images and the applet are loaded from my web server.

What I would like to do: If the applet can not load due to security settings is display an image instead of loading the applet code.  This can then link to a copy of the html page on my web server.

If the mail client only supports plain text then I will just put a link directly to this copy of the web page.
Mick BarryJava DeveloperCommented:
try putting the link inside the applet tag

<applet ......>

   <a href="somewhere.html">Alternate link</a>

</applet>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mayank SAssociate Director - Product EngineeringCommented:
>> If the applet can not load due to security settings is display an image instead of loading the applet code

That might actually be programming or customization at the mail-client (like Outlook).
Mayank SAssociate Director - Product EngineeringCommented:
Any reason for a C?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.