Solved

Communication from Applet to HTML Page

Posted on 2000-03-13
2
234 Views
Last Modified: 2006-11-17
I need to make information captured in an applet available to the HTML page so that when a user presses a submit button, information from within my applet is merged with other information on the page and sent to the server. Is this possible?
0
Comment
Question by:howesd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
Sasha_Mapa earned 100 total points
ID: 2612770
As far as I know, there is no way to communicate with HTML.
A. An applet can invoke methods defined in Javascript on the page it was loaded from  (but I don't know Javascript, so I don't know whether it's possible to send something to a server from Javascript).
B. Javascript can call public methods in the applet that is found on the same page as the Javascript. You can use that to gather information from the page, give it to the applet, and have the applet send everything to the server.

If you want to know how to do either, post a comment :-)
0
 
LVL 1

Author Comment

by:howesd
ID: 2613970
That's all I need thanks - I can use Javascript to get at the public methods of my applet - once I've got that far I think the rest will be easy

Thanks for your help

Dave
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
by zero exception 10 70
Java Restore security prompts not working 10 138
Java syntax, or is it Selenium 6 42
running on tomcat not jboss eap 7.0 3 32
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question