O'Reilly logo

J2EE™ Tutorial, The by Beth Stearns, Monica Pawlan, Eric Jendrock, Kim Haase, Dale Green, Stephanie Bodoff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Including an Applet

You can include an applet or JavaBeans component in a JSP page by using the jsp:plugin element. This element generates HTML that contains the appropriate client-browser-dependent constructs (<object> or <embed>) that will result in the download of the Java Plug-in software (if required) and client-side component and subsequent execution of any client-side component. The syntax for the jsp:plugin element is as follows:

<jsp:plugin 
   type="bean|applet" 
   code="objectCode" 
   codebase="objectCodebase" 
   { align="alignment" } 
   { archive="archiveList" } 
   { height="height" } 
   { hspace="hspace" } 
   { jreversion="jreversion" } 
   { name="componentName" } 
   { vspace="vspace" } 
   { width="width" } 
   { nspluginurl="url" } 
   { iepluginurl="url" } > { <jsp:params> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required