Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 10-01-2003, 06:57 AM Java applet passing params to HTML
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
Trades: 0
I have a question about the capabilities of a java applet. I would like to know if it is possible to set any "param" values in a HTML from within a java applet.
I basically want to have a form in an applet, which when posted, saves the answers as params in the HTML page.
I just need the code which goes in the applet, to write the params to the HTML document.
I am not sure if this is possible due to the limited capabilities of Applets due to security.
Thanks in advance!
__________________
I think, therefore I am..... I think.

Last edited by scottfree; 10-01-2003 at 07:17 AM..
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
 
Register now for full access!
Old 10-01-2003, 08:45 AM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
I'm not an expert on Applets, but you could do this by getting the form to submit to a server side script (such as PHP) which would output the HTML dynamically, writing the params on the fly.
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 10-01-2003, 09:44 AM
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
Trades: 0
Thanks David but we are using HTML forms and perl at the moment which write the params to a DB and then the pages are created dynamically with all the previous params as hidden values.
I was just wanting to do this using Applets insted of HTML forms.
I am starting to think that this is impossible as I canīt find anything on the internet about Applets passing params to HTML.
__________________
I think, therefore I am..... I think.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
Old 03-04-2004, 01:55 PM
Experienced Talker

Posts: 31
Location: Romania
Trades: 0
you can have the applet call a javascript function with parameters, so from javascript you set form hidden (or not hidden) parameters.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
- 4 sale
overload is offline
Reply With Quote
View Public Profile Visit overload's homepage!
 
Old 03-08-2004, 04:19 AM
scottfree's Avatar
Extreme Talker

Posts: 234
Location: Hamburg
Trades: 0
Thanks for replying overload but that was an old post and I have solved the problem since then.
Cheers 4 now.
__________________
I think, therefore I am..... I think.
scottfree is offline
Reply With Quote
View Public Profile Visit scottfree's homepage!
 
Reply     « Reply to Java applet problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.39758 seconds with 12 queries