• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

pass a data struct as applet param

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,

I would like to know if we can pass a data structure into an applet via the applet param tag from jsp.
I found a doc [at ]http://java.sun.com/docs/books/tutorial/applet/appletsonly/paramQs.html#paramTypes] that says I can do it ... but need to confirm this beforehand.

If yes then are there any data structs that are not allowed in there?
Please advice.

Thanks
Karen
[ March 16, 2005: Message edited by: Karen Gomes ]
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that any parameter you pass to an applet will get passed in as a string. What you do with that string is up to you. You could use it as a string, use a built-in method to convert it to a number or date or have a parse routine to convert the string into something more complicated.

Applets can access files on server so you can also pass a filename to the applet if what you're trying to pass is difficult or inconvenient to embed in the html.
 
A tiny monkey bit me and I got tiny ads:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic