Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Parameters in HTML/Applet

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I to send parameters to a applet under a HTML page?. This is the situation : I have a applet and I check a field ( id number ), if this field is ok I need to load another applet ( other HTML page ), I need to load this new applet with the parameter ( id field ). In adition how can I to call this new page from my first page?...
thanks,
regards...
OSM
osanmartin@hotmail.com
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wasn't quite clear on what you are trying to do. Is this parameter one that the user is passing, or is it something that you want to read from the HTML page?
You can get parameters from an HTML page by using the <PARAM> tag. For example:
APPLET CODE="MyClass.class"
PARAM NAME=id VALUE=12345
/APPLET
I didn't include the angle brackets, but you know where they go. You can pass parameters to an applet from HT
 
Yup, yup, yup. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic