By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,737 Members | 1,971 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,737 IT Pros & Developers. It's quick & easy.

java applet, html and PHP

P: n/a
Bob
Hi,

Me big time java newbie, in fact I'm currently downoading the plugin for Xp.

I have no dramas with OO concepts, polymorphism and library classes and the
concept of extending Applet, I was around java about ten years ago while at
university, the concepts remain but the details are blurred as I haven't
touched it sense and I do say unfortunately to that.
Here's my question : can a java applet running in one frame pass data to a
php script in another frame, say for example a primary key when a particluar
image is clicked for which the PHP script then does the mysql lookup for an
displays the results in it's frame ?

Or, in the applet do I have to get the mouse click of the appropraite thing
I clicked on (in what is virtually an animation) pass that back to the html
and then pass the data into the other frame from the HTML (using a
javascript I would assume with a hidden form).

Thanks in advance
Bob.
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Bob

"Bob" <wh*********************@hotmail.com> wrote in message
news:sk********************@nasal.pacific.net.au.. .
Hi,

Me big time java newbie, in fact I'm currently downoading the plugin for Xp.
I have no dramas with OO concepts, polymorphism and library classes and the concept of extending Applet, I was around java about ten years ago while at university, the concepts remain but the details are blurred as I haven't
touched it sense and I do say unfortunately to that.
Here's my question : can a java applet running in one frame pass data to a
php script in another frame, say for example a primary key when a particluar image is clicked for which the PHP script then does the mysql lookup for an displays the results in it's frame ?

Or, in the applet do I have to get the mouse click of the appropraite thing I clicked on (in what is virtually an animation) pass that back to the html and then pass the data into the other frame from the HTML (using a
javascript I would assume with a hidden form).

Thanks in advance
Bob.


in answer to my own question . . . and I thought I'd share it in case you
were all left wondering . . .
AppletContext appcontext = graph.getAppletContext();
appcontext.showDocument(url,String)
// where in this case string where 'String' framename is defined the calling
html.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.