Solved

Communication from Applet to HTML Page

Posted on 2000-03-13
2
241 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

726 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