|
-
September 22nd, 1999, 04:03 PM
#1
Sending values applet to applet
I am working on a project where I have to send several values from 1 applet to another applet on a separate page. I have been able to send a single value using this code:
getAppletContext().showDocument(new URL(getCodeBase(),"java2html.html?" + "message=" + URLEncoder.encode(labelPercentage.getText())));
but haven't been successful sending 2 or more values. Can anyone give me any suggestions? Thanks
-
October 1st, 1999, 12:41 AM
#2
Re: Sending values applet to applet
Try to look at this address: http://www.tactika.com/realhome/realhome.html for "Have Applets on the same page communicate with each other".
I have not try this code, but I hope it can help you.
Regards
Bent.
-
October 11th, 1999, 05:47 PM
#3
Re: Sending values applet to applet
Hi,
If you have been successful to pass values from page to page thru applets...please let me know how...i have been successful passing values on the same page but not yet on two different.
Please reply to [email protected]
Thanks
Praveen.
-
October 11th, 1999, 06:15 PM
#4
Re: Sending values applet to applet
one solution is , create a dummy class and place some static variables in it.
store the values which you want to pass from applet1 to applet 2 into these static
variables. You can access this static class in your applet2 also. This will work but i wont this
this is a good solution.
Poochi..
-
November 3rd, 1999, 12:49 PM
#5
Re: Sending values applet to applet
Hi ,
Find a example of Applet Passing here. Source code included and works fine.
Any comments to : [email protected]
Visit : http://genquote.tripod.com/praveen/index.html
Thanks
Praveen K
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|