473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

java applet, html and PHP

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
1 2722
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: apchar | last post by:
I am trying to use php as a kind of servlet to act as a middle man between a java applet and mysql. I know java has jdbc but it's flakey and painful. php access to mysql is much nicer. So I have:...
0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
5
by: java_helloworld | last post by:
I am trying to print from an applet using the Java Print API. If I run the applet on appletviewer then things work fine i.e. I am able to get the print out. If I run the applet on a browser then...
3
by: Sean Cleary | last post by:
In Java How to program, 5th edition, I can not get past the example in chapter 3, page 89 to page 96. Is there some errata for this? I did not/could not load all the tools. I am coming from Slick...
1
by: polilop | last post by:
i have an java applet, and when i start it it shows a gray win with x. the console shows java.lang.NoClassDefFoundError: GeomApplet (wrong name: vj3/GeomApplet) at...
1
by: mark | last post by:
Adding an applet to a web page through the <object> tag, allows you to target the JVM in 2 ways. (ref. http://java.sun.com/products/plugin/versions.html ) 1. "Dynamic Versioning", which ...
3
by: Steve W | last post by:
I've searched over and over again and have not been able to find a definitive answer. Basically, we have a heavily JavaScripted web site. What I was hoping to do was to start enhancing our site...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
2
by: Andrew Neiderer | last post by:
This is simple HTML, Java but I am really confused. I include the code since it is so small - ---------------------------------------------------------------------------- -- test.html -- ...
2
by: makthar | last post by:
hi i have the following java applet progam and the javascript the problem is that when the javascript tries to access the applet method it gives me an error as follows document.form1.myApplet is...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.