Jsp Call Applet Passing Para : Applet JSP « JSP « Java






Jsp Call Applet Passing Para

<%@ page import="SimpleMenuApplet" %>

<% String menuData = "";
%>

<jsp:plugin type="applet" code="SimpleMenuApplet" codebase="."
            width="250"
            height="50"
            jreversion="1.3"
>
     <jsp:params>
          <jsp:param
               name="font"
               value="SansSerif"
          />
          <jsp:param
               name="fsize"
               value="12"
          />
          <jsp:param
               name="image"
               value="Menu.gif"
          />
          <jsp:param
               name="data"
               value='<%= menuData %>'
          />
     </jsp:params>

     <jsp:fallback>
          <B>Unable to start plugin!</B>
     </jsp:fallback>

</jsp:plugin>

           
       








JspCallAppletPassingPara.zip( 89 k)

Related examples in the same category

1.Use Applet In Jsp
2.Jsp Applet Plugin
3.JSTL: work with applet