Posted By:
Stephen_McConnell
Posted On:
Wednesday, June 4, 2008 10:18 AM
Loading the Apple it easy.
However, I suggest using the OBJECT tag to do this. Do some research on the OBJECT tag and what it does in the DOM (Document Object Model) of the browser. It will act as an object allowing Javascript to access certain methods. (You can set up some getter setter methods that pass back String variables or you can pass in string variables --- any type of numeric or object will not work).
Playing with javascript and Applet interaction is fun... but requries some special setting up.... Do a google search to figure that out...
I wouldn't know how to get the Applet to redirect the web application. Some things I would play with might be to get the Applet have a HttpURLConnection back to the Web application and it would send a request (like a browser request) to the Web App that would have parameters for the URL it needs to redirect to....
The first part I've done before (a looonnngggg time ago), the second I haven't.
I hope this helps... and please post your results here for ALL to benefit from.
Stephen McConnell