954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Applet: Send data to form inside a frame in users browser? [ADVANCED]

Hey guys i have a real issue

I want to do these 3 things from an applet:
________
1) Load an URL into a frame inside the browser

and

2) Insert data into a form which is inside a frame in the users browser, and then submit the form using the submit element of the form

and

3) Send HTTP POST data from the applet but have the response act inside the frame inside the browser.
________

If this helps, this is the architecture:
Applet inside browser on a page, the page has a iFrame where all content is destined to be loaded.

I've done a lot of research, and asking here is definitely my last resort. I thank you very much for taking the time to read/and respond to this thread.

-Ollie

Olliepop
Light Poster
26 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

There is a method in the AppletContext class that allows an applet to request the browser to show a web page.
I don't know how an applet in one page can communicate with another html page in the browser. Maybe there is some javascript code that can do that.

NormR1
Posting Expert
Moderator
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
 

Thanks - yeh i'm a little bit concerned about security if i execute javascript commands directly into the browser, although perhaps i could create an encryption algerithm to protect everything...

Thank you for your insight :)

Olliepop
Light Poster
26 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: