Solved

Communication from Applet to HTML Page

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now