I don't think an Applet can access the form properties directly, but you can
use JavaScript to bridge the gap between the form and the Applet. An
example is attached. Note there is a difference between browsers and
versions, but you can cover both in the code.
The sample basically uses JavaScript to pull the fields off the form passing
them to a method called 'AppletMethod' in an applet called 'Applet.class'.
The applet is defined in the HTML as 'AppletToUse', and it's return value is
put back into the form field. After this the form action takes place (a
call to someaction.exe in this case). You could, of course, leave the form
action out if all you want to do is call the applet method.
Of course the sample won't execute without an applet, but this should get
you started.
Hope this helps.
Phil Brown
Electronic Commerce Dept.
Bridgestone/Firestone Inc.
http://www.bridgestone-firestone.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 14, 1999 8:06 AM
To: [EMAIL PROTECTED]
Subject: applet access form data?
can java applet read and write data form or to a form of HTML?
How to do? Please tell me.thank
Title: Sample Form/Applet Integration