Tutorials4u.net Forum

Full Version: Launch an applet from a JSP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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>
Reference URL's