• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Converting JavaObject to JavaScript and reading it from an Applet

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all! I'm a bit stuck with this concept that I've been working on and I'm looking for some sort of guide on this.
Essentially this is the problem:

Bean retrieves data from database and I need to store it as a hidden field on a webpage.
The user then must authenticate the data using an applet.
The resulting authenticated object is then sent to the database.

So i'm stuck at this paradigm:

Bean -> Html & Javascript -> Applet

I think I can figure out the upload issue later, thanks
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The first thing to realize that you can only store text strings in hidden fields. So your first task would appear to be to convert this undescribed "bean" into a text string.
 
Vedar Smith
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah... I just figured that out and I'm working around it as I write. I'm also trying to use JSObject for reading the Javascript function return value right now. How do you get the value out of the enclosed type?

from what I gather the return type seems to be JSObject.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic