• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Please Help

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All:
I am trying to use the java script to embed a applet on the html
page then I also need to pass some of the parameter from the html page into this applet.
The applet shows up but it can't get the parameter passed
by the java script. I am using the
I know we can't longer use the applet tag to pass the parameter
and we need to use java plugin.However, after reading sun's documentation. I still don't understand how to use the java plugin to pass the parameter. Can You guy give me some example
Thanks a lot
<APPLET CODE="wt/boot/BootstrapApplet.class ARCHIVE=wt/security/security.jar WIDTH=\"500\" HEIGHT=300>
<PARAM NAME=boot_jar VALUE=wt.jar>
<PARAM NAME=boot_class VALUE=ext.spgg.doc.kwcommondoc.ContentApplet>
<PARAM NAME=cabinets value=\"wt/security/security.cab>
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chi,
To use the plug-in you need to use the EMBED HTML tag for Netscape and the OBJECT HTML tag for IE. The OBJECT tag is almost identical to the APPLET tag.
This might be your code for IE:
width=500 height=300
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"; >
< PARAM NAME=boot_jar VALUE=wt.jar>
< PARAM NAME=boot_class VALUE=ext.spgg.doc.kwcommondoc.ContentApplet>
< PARAM NAME=cabinets value=\"wt/security/security.cab>
For Netscape it gets a little tricky, but still not tough:
< EMBED TYPE="application/x-java-applet;version=1.3"
cabinets="wt/security/security.cab" >
< /EMBED >
Look here for a great explanation with examples:
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic