• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get data from applet into html form?

 
Ant Furious
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet that computes some data and I want to e-mail the information in the applet to someone. The javamail api doesn't seem to work for everyone's browser, so I would like to just use an html form to e-mail the data. If I have a form text field on an html page, how do I get my applet to populate that field?
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
YOu might look into JSObject from Netscape. It lets java call Script functions. The following link talks about it.
http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=23&t=000440
NOTE: Unless your first name is really just A, I would suggest that you re-register with a valid name here at the Ranch. The naming policy is quite clear on the issue: http://www.javaranch.com/name.jsp
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic