
March 29th, 2000, 11:48 PM
|
|
Junior Member
|
|
Join Date: Mar 2000
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I have never donme this with java but I did do it once with javascript. If you create a page using frames with one frame of height "zero" and the main fram of height "*" (or whatever you like) you can then remotely load a php database query script into that zero height frame and pass your query criteria appended to the URL (i.e. query_page.shtml?criteria1=junk1&criteria2=junk2). That query_page can then load the returned values into <input type="hidden"> fields and you can use either java or javascript to retrieve the values and import them into you applet.
The benefit is that the user can make changes to the main page that will elicit updates of the currently displayed values without having to wait for a full main page reload. I know it work using javascript but I don't know if you have access to alternate frames and form elements using java. Just a thought. Good luck.
Robert.
|