Launch an applet from a JSPTag(s): Servlet/JSP
The jsp:plugin tag will generate the right html code to load your Applet.
<jsp:plugin type="applet" code="TestApplet.class" width="500" height="300"> <jsp:params> <jsp:param name="message" value="Hello, world"/> <jsp:param name="action" value="<%=AppletAction%>"/> </jsp:params> <jsp:fallback> <p> unable to start plugin </p> </jsp:fallback> </jsp:plugin>