You are here:

Java/Define two Applet tag on JSp


Dear Sir I am Using Struts Framework (Struts 1.0.2) and i have define on jsp, Two applet tag Like below
<applet name="Signer" codebase="/opp/applet" code="SignerApplet" archive="SignerApplet.jar" width="0" height="0" >  
<PARAM NAME="submitUrl" VALUE="<%=linkUrl%>">  
<applet name="Symmetric" codebase="/opp/applet" code="Encryption.class" archive="Encryption.jar" width="0" height="0" >  

The Problem is this That Its working with the Some jre versions like but Its not working With The other JRe 1.6 versions and Never Work With jre 1.7.

So Can you Please help me How can I use These Two applet tag on jsp so its can work with All the JRE versions.

The only issue I see is that it should be code="SigerApplet.class" not simply "SigerApplet".
It is probably an issue with the application itself. You should try to use the appletviewer program to run the applet, as that will easily let you see any errors that pop up.

Also, use of the applet tag is deprecated. You should use the object as instructed here:


All Answers

Answers by Expert:

Ask Experts


Artemus Harper


I have a Masters in computer science. I can answer questions on core J2SE, swing and graphics. Please no questions about JSP or J2ME.


I have experience in Core Java, good background in Java swing/gui, some experience with JNI, Java reflection. Some experience in bio-informatics. Basics in c++ and c#

Washington State University

MS in Computer Science from Washington State University and a BS in Mathematics and Computer Science from Central Washington University.

©2017 All rights reserved.