Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
12.3 Including Applets for the Java Plug In
277
title
This attribute is used identically to the very rarely used 
TITLE 
attribute of 
APPLET
 (and virtually all other HTML elements in 
HTML 4.0), specifying a title that could be used for a tool tip or 
for indexing.
jreversion
This attribute identifies the version of the Java Runtime 
Environment (JRE) that is required. The default is 1.1.
iepluginurl
This attribute designates a URL from which the plug in for 
Internet Explorer can be downloaded. Users who don't already 
have the plug in installed will be prompted to download it from 
this location. The default value will direct the user to the Sun 
site, but for intranet use you might want to direct the user to a 
local copy.
nspluginurl
This attribute designates a URL from which the plug in for 
Netscape can be downloaded. The default value will direct the 
user to the Sun site, but for intranet use you might want to 
direct the user to a local copy.
The jsp:param and jsp:params Elements
The 
jsp:param
 element is used with 
jsp:plugin
 in a manner similar to the
way that 
PARAM
  is  used  with 
APPLET
, specifying a name and value that are
accessed from within the applet by 
getParameter
. There are two main dif 
ferences, however. First, since 
jsp:param
 follows XML syntax, attribute
names must be lower case, attribute values must be enclosed in single or dou 
ble quotes, and the element must end with 
/>
, not just 
>
. Second, all
jsp:param
 entries must be enclosed within a 
jsp:params
 element.
So, for example, you would replace

        WIDTH=475 HEIGHT=350>
with
            code="MyApplet.class"
            width="475" height="350">
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

jsp web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved