How do I use the <jsp:plugin> tag to embed an applet and have multiple parameters?

Prasad Thammineni

For details on the <jsp:plugin> syntax refer to http://java.sun.com/products/jsp/tags/11/syntaxref11.fm12.html

Multiple parameters are specified using the <PARAM> tag as shown in the example below:

<jsp:plugin type="applet" code="HelloWorld"
  codebase="/samples/" height="800" width="500" jreversion="1.1"
  nspluginurl="http://java.sun.com/products/plugin/1.1.3/plugin-install.html"
  iepluginurl="http://java.sun.com/products/plugin/1.1.3/jinstall-113-win32.cab#Version=1,1,3,0">
    <params>
      <param name="author" value="prasad">
      <param name="date" value="06/10/2000">
    </params>
    <fallback>
     <font color=#FF0000 >Sorry, cannot run java applet!!</font>
    </fallback>
</jsp:plugin>
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact